/* --- 1. RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #333333;
    --font-main: 'Inter', Helvetica, Arial, sans-serif;
    --ease-smooth: cubic-bezier(0.645, 0.045, 0.355, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }
ul { list-style: none; }

/* --- 2. CUSTOM CURSOR --- */
#cursor {
    position: fixed; top: 0; left: 0; width: 20px; height: 20px;
    border: 2px solid #fff; border-radius: 50%; pointer-events: none;
    z-index: 999999;
    transition: width 0.2s, height 0.2s, background-color 0.2s; 
    mix-blend-mode: difference; will-change: transform;
}
#cursor.hovered { width: 50px; height: 50px; background-color: rgba(255, 255, 255, 0.2); border-color: transparent; }

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000; z-index: 10000; display: flex;
    justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.loader-logo { width: 120px; max-width: 30vw; height: auto; animation: pulse 1.5s infinite; object-fit: contain; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0.5; } }

/* --- 3. HEADER & TOGGLE --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 30px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    transition: background 0.3s;
}
header.menu-active { background: #000; }
.header-left { display: flex; align-items: center; gap: 20px; }
.brand-logo img { height: 40px; width: auto; display: block; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 1; }
.brand-logo img:hover { transform: scale(1.05); }

/* Language Switch */
.lang-switch {
    width: 60px; height: 30px; border-radius: 30px; display: flex; align-items: center;
    padding: 2px; position: relative; transition: background-color 0.3s ease, border 0.3s ease; margin-right: 20px;
}
.lang-switch[data-lang="id"] { background-color: #ffffff; border: 1px solid #ffffff; }
.lang-switch[data-lang="en"] { background-color: #000000; border: 1px solid #ffffff; }
.lang-circle {
    width: 24px; height: 24px; border-radius: 50%; position: absolute;
    transition: transform 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95), background-color 0.3s;
    display: flex; justify-content: center; align-items: center; font-size: 10px; font-weight: bold;
}
.lang-switch[data-lang="id"] .lang-circle { transform: translateX(0); background-color: #000000; color: #fff; }
.lang-switch[data-lang="id"] .lang-circle::after { content: "ID"; }
.lang-switch[data-lang="en"] .lang-circle { transform: translateX(30px); background-color: #ffffff; color: #000; }
.lang-switch[data-lang="en"] .lang-circle::after { content: "EN"; }

/* Menu Button */
.menu-btn { width: 30px; height: 20px; position: relative; z-index: 1001; }
.menu-btn span {
    display: block; width: 100%; height: 2px; background-color: var(--text-color);
    position: absolute; transition: all 0.3s ease;
}
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 9px; }
.menu-btn span:nth-child(3) { top: 18px; }
.menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* --- 4. NAVIGATION OVERLAY --- */
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--bg-color); display: flex; flex-direction: column;
    justify-content: flex-start; align-items: center; padding-top: 100px; padding-bottom: 50px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    z-index: 999; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.menu-list { text-align: center; width: 100%; max-width: 600px; padding: 0 20px; }
.menu-item { border-bottom: none; padding: 15px 0; }
.menu-title {
    font-size: 24px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; transition: color 0.3s; display: block;
}
.menu-title:hover { color: #888; }

/* --- COMPONENTS --- */
.faq-wrapper { text-align: left; padding: 15px 10px; color: #ccc; }
.faq-item { margin-bottom: 20px; border-bottom: 1px dashed #333; padding-bottom: 15px; }
.faq-item:last-child { border-bottom: none; }
.faq-q { color: #fff; font-weight: bold; font-size: 14px; margin-bottom: 5px; display: block; }
.faq-a { font-size: 13px; line-height: 1.5; color: #888; }

.service-wrapper { border-bottom: 1px dashed #333; margin-bottom: 5px; }
.service-header {
    display: flex; justify-content: space-between; padding: 15px 0;
    font-size: 16px; color: #ccc; transition: color 0.3s; align-items: center;
}
.service-header:hover { color: #fff; }
.service-header.active { color: #fff; font-weight: bold; }
.service-icon-state { font-size: 12px; transition: transform 0.4s var(--ease-smooth); }
.service-header.active .service-icon-state { transform: rotate(180deg); }

.service-body {
    max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease-smooth);
    text-align: left; background: #0a0a0a;
}
.service-desc { font-size: 13px; color: #888; margin: 15px 10px; line-height: 1.6; font-style: italic; }

.price-table { width: 100%; margin-bottom: 25px; border-collapse: collapse; background: #0a0a0a; }
.price-table td { padding: 10px; font-size: 13px; border-bottom: 1px solid #222; }
.price-table td:last-child { text-align: right; color: #fff; font-family: monospace; }
.price-table td:first-child { color: #aaa; }
.mini-order-btn { 
    font-size: 10px; border: 1px solid #555; padding: 3px 8px; 
    border-radius: 4px; color: #fff; background: #222; 
}
.mini-order-btn:hover { background: #fff; color: #000; }

.service-action-btn, .cta-btn {
    display: inline-block; width: auto; min-width: 180px; padding: 12px 30px;
    background: transparent; border: 1px solid #fff; color: #fff;
    font-size: 12px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase;
    border-radius: 50px; transition: all 0.3s ease; text-align: center; margin-top: 20px;
}
.service-action-btn:hover, .cta-btn:hover {
    background: #fff; color: #000; box-shadow: 0 0 15px rgba(255,255,255,0.5); transform: translateY(-2px);
}

/* --- HERO SECTION BASE STYLE --- */
.hero {
    position: relative; height: 100vh; width: 100%; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0;
    transition: opacity 1.5s ease-in-out; z-index: -1;
}
.hero-slide.active { opacity: 0.5; }

/* Gradient Fade Bawah Hero */
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 250px; 
    background: linear-gradient(to top, #080808 10%, rgba(8, 8, 8, 0) 100%);
    z-index: 2; pointer-events: none;
}

.hero-content { z-index: 5; text-align: center; padding: 20px; position: relative; }

.hero-logo-img { 
    max-width: 350px; width: 80%; height: auto; margin-bottom: 10px; 
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.5)); 
}
.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;      
    letter-spacing: 6px;     
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    opacity: 0.9;
}

/* --- MODALS --- */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); display: flex; justify-content: center; align-items: center;
    z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal.show { opacity: 1; pointer-events: auto; }
.modal-content.case-study-content {
    background: #151515; border: 1px solid #333; width: 90%; max-width: 900px;
    height: auto; max-height: 90vh; overflow-y: auto; padding: 30px;
    border-radius: 12px; position: relative;
}
.case-study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.case-study-img img { width: 100%; border-radius: 8px; border: 1px solid #333; }
.case-study-details h3 { font-size: 14px; color: #888; text-transform: uppercase; margin-bottom: 5px; margin-top: 15px; }
.case-study-details p { font-size: 13px; color: #ccc; line-height: 1.6; margin-bottom: 15px; }
.close-modal {
    position: absolute; top: 15px; right: 20px; width: 35px; height: 35px;
    background-color: #222; color: #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 20px;
    border: 1px solid #333; cursor: pointer; transition: all 0.3s; z-index: 2001; 
}
.close-modal:hover { background-color: #fff; color: #000; transform: rotate(90deg); }
.modal-title { font-size: 24px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; color: #fff; }

/* --- PORTFOLIO --- */
.filter-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
    background: transparent; border: 1px solid #444; color: #888;
    padding: 8px 16px; border-radius: 20px; font-size: 12px;
    letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: #fff; color: #000; border-color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-bottom: 20px; }
.portfolio-item {
    background: #222; border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1;
    opacity: 0; transform: translateY(20px); animation: fadeInGrid 0.5s forwards; position: relative;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s, filter 0.3s; }
.portfolio-item:hover img { transform: scale(1.1); filter: brightness(1.2); }
.portfolio-tag {
    position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.7);
    padding: 3px 8px; font-size: 10px; border-radius: 4px; backdrop-filter: blur(2px); color: #fff;
}
@keyframes fadeInGrid { to { opacity: 1; transform: translateY(0); } }

/* --- PAGE STRUCTURE --- */
.page-content {
    flex: 1; padding-top: 120px; padding-bottom: 50px;
    padding-left: 20px; padding-right: 20px; max-width: 1000px; margin: 0 auto; width: 100%;
}
.page-title {
    text-align: center; font-size: 32px; font-weight: 900; margin-bottom: 40px;
    letter-spacing: 2px; color: #fff; text-transform: uppercase;
    border-bottom: 1px dashed #333; padding-bottom: 20px;
}

/* --- PROCESS & FORMS --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; margin-bottom: 50px;}
.process-card { background: #111; border: 1px dashed #333; padding: 25px; border-radius: 12px; position: relative; transition: all 0.3s; }
.process-card:hover { border-color: #fff; transform: translateY(-5px); background: #151515; }
.step-number { position: absolute; top: -10px; right: 10px; font-size: 60px; font-weight: 900; color: #222; }
.process-info { position: relative; z-index: 1; }
.process-title { font-size: 16px; font-weight: bold; color: #fff; text-transform: uppercase; margin-bottom: 10px; }
.process-desc { font-size: 13px; color: #888; line-height: 1.6; }

.order-form-container, .summary-card { max-width: 600px; margin: 0 auto; background: #0a0a0a; padding: 30px; border-radius: 12px; border: 1px solid #222; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 11px; color: #888; margin-bottom: 8px; text-transform: uppercase; font-weight: bold; }
.form-input { width: 100%; background: #111; border: 1px solid #333; padding: 12px 15px; color: #ccc; border-radius: 6px; font-family: var(--font-main); font-size: 14px; }
.form-input:focus { border-color: #fff; outline: none; color: #fff; }
.form-input.readonly { background: #1a1a1a; border-color: #222; color: #666; cursor: not-allowed; }
.submit-order-btn, .payment-gateway-trigger { width: 100%; padding: 15px; background: #fff; color: #000; font-weight: 900; border: none; border-radius: 6px; text-transform: uppercase; margin-top: 10px; transition: all 0.3s; cursor: pointer; }
.submit-order-btn:hover, .payment-gateway-trigger:hover { background: #ccc; transform: translateY(-2px); }
.payment-gateway-trigger { background: #005ce6; color: #fff; }
.payment-gateway-trigger:hover { background: #0046b0; }

.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: #aaa; }
.summary-row strong { color: #fff; text-align: right; }
.summary-row.total { border-top: 1px solid #333; padding-top: 10px; margin-top: 10px; font-size: 16px; color: #fff; }

.review-input-section { background: #1a1a1a; padding: 20px; border-radius: 12px; border: 1px solid #333; margin-bottom: 30px; text-align: center; }
.star-rating-container { display: flex; justify-content: center; gap: 10px; margin: 10px 0; font-size: 30px; }
.star-icon { color: #444; transition: color 0.2s, transform 0.2s; cursor: pointer; }
.star-icon:hover, .star-icon.active { color: #ffd700; transform: scale(1.2); }
.review-form-container { display: none; margin-top: 20px; text-align: left; animation: slideDown 0.5s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.review-input { width: 100%; background: #000; border: 1px solid #444; padding: 12px; color: #fff; margin-bottom: 15px; border-radius: 6px; }
.submit-review-btn { width: 100%; padding: 12px; background: #fff; color: #000; font-weight: bold; border: none; border-radius: 6px; text-transform: uppercase; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; text-align: left; }
.testi-card { background: #222; padding: 25px; border: 1px dashed #444; border-radius: 8px; transition: transform 0.3s; }
.testi-card:hover { transform: translateY(-5px); border-color: #fff; }
.testi-quote { font-style: italic; font-size: 13px; color: #ccc; margin-bottom: 15px; line-height: 1.6; position: relative; }
.testi-quote::before { content: '“'; font-size: 30px; color: #555; position: absolute; left: -15px; top: -15px; }
.testi-author { font-weight: bold; color: #fff; font-size: 14px; margin-top: 10px; display: block;}
.testi-brand { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 2px; }

/* --- SHOP STYLES --- */
.shop-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; padding-bottom: 50px;
}
.product-card {
    background: #111; border: 1px solid #333; border-radius: 8px; overflow: hidden;
    transition: all 0.3s ease; position: relative; opacity: 0; 
    animation: fadeInGrid 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.product-card:hover { border-color: #fff; transform: translateY(-5px); }
.product-img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; filter: grayscale(100%); transition: filter 0.3s;
}
.product-card:hover .product-img { filter: grayscale(0%); }
.product-info { padding: 20px; }
.product-title {
    color: #fff; font-size: 16px; font-weight: bold; text-transform: uppercase;
    margin-bottom: 5px; letter-spacing: 1px;
}
.product-cat {
    color: #888; font-size: 10px; text-transform: uppercase; margin-bottom: 15px; display: block;
}
.product-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px dashed #333; padding-top: 15px; margin-top: 10px;
}
.product-price { color: #fff; font-weight: 900; font-size: 18px; }
.buy-btn {
    background: #fff; color: #000; padding: 8px 15px; font-size: 11px;
    font-weight: bold; text-transform: uppercase; border-radius: 4px; border: none;
    text-decoration: none; display: inline-block;
}
.buy-btn:hover { background: #ccc; }
.instant-badge {
    position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.8);
    border: 1px solid #fff; color: #fff; padding: 3px 8px; font-size: 9px;
    font-weight: bold; border-radius: 20px; z-index: 2;
}

/* --- BLOG STYLES --- */
.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px; margin-bottom: 50px;
}
.blog-card {
    background: #111; border: 1px solid #333; border-radius: 8px; overflow: hidden;
    transition: all 0.3s ease; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); border-color: #fff; }
.blog-thumb { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; filter: grayscale(100%); }
.blog-card:hover .blog-thumb img { transform: scale(1.1); filter: grayscale(0%); }
.blog-cat {
    position: absolute; top: 10px; left: 10px; background: #fff; color: #000;
    padding: 3px 8px; font-size: 10px; font-weight: 900; text-transform: uppercase;
}
.blog-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 11px; color: #666; margin-bottom: 10px; font-family: monospace; }
.blog-title { font-size: 18px; color: #fff; margin-bottom: 10px; line-height: 1.4; font-weight: bold; }
.blog-excerpt { font-size: 13px; color: #aaa; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.read-more-btn { font-size: 11px; font-weight: bold; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-top: auto; }

/* Article Details */
.article-container { max-width: 700px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 40px; border-bottom: 1px dashed #333; padding-bottom: 30px; }
.article-cat-tag { display: inline-block; border: 1px solid #555; padding: 5px 15px; border-radius: 50px; font-size: 11px; margin-bottom: 15px; color: #ccc; }
.article-date { font-size: 12px; color: #666; margin-top: 10px; display: block; }
.article-body { font-size: 16px; line-height: 1.8; color: #ccc; text-align: justify; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { color: #fff; margin-top: 40px; margin-bottom: 15px; font-size: 22px; border-left: 3px solid #fff; padding-left: 15px; }
.article-body ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; color: #aaa; }
.article-cta-box {
    background: #111; border: 1px dashed #fff; padding: 30px; text-align: center;
    margin: 60px 0; border-radius: 12px;
}

/* --- FOOTER & WA --- */
footer {
    width: 100%; background-color: #000; color: #fff; padding: 60px 40px;
    margin-top: auto; border-top: 1px solid #222;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
    align-items: flex-start; flex-wrap: wrap; gap: 40px;
}
.footer-left { flex: 1; min-width: 250px; }
.footer-menu { list-style: none; padding: 0; margin: 0; width: 100%; }
.footer-menu li { border-bottom: 1px solid #fff; }
.footer-menu li a {
    display: block; padding: 15px 0; font-size: 14px; color: #fff;
    text-transform: capitalize; letter-spacing: 0.5px; transition: color 0.3s, padding-left 0.3s;
}
.footer-menu li a:hover { color: #888; padding-left: 10px; }
.footer-right { flex: 1; min-width: 250px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer-brand { font-family: var(--font-main); font-size: 36px; font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; color: #fff; }
.footer-find-us { font-size: 10px; letter-spacing: 2px; font-weight: bold; margin-bottom: 15px; color: #fff; text-transform: uppercase; }
.footer-socials { display: flex; gap: 20px; margin-bottom: 20px; }
.footer-social-icon { width: 20px; height: 20px; fill: #fff; transition: fill 0.3s, transform 0.3s; }
.footer-social-icon:hover { fill: #888; transform: translateY(-3px); }
.copyright-text { font-size: 12px; color: #ffffff; margin-top: 20px; }

.float-wa {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: #000; border: 2px solid #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; z-index: 9999;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2); transition: transform 0.3s, background-color 0.3s;
}
.float-wa:hover { transform: scale(1.05); background-color: #fff; border-color: #000; }
.float-wa svg { width: 35px; height: 35px; fill: #fff; transition: fill 0.3s; }
.float-wa:hover svg { fill: #000; }

@media (max-width: 768px) {
    #cursor { display: none !important; }
    * { cursor: auto !important; }
    .brand-logo img { height: 40px; }
    .hero-logo-img { max-width: 250px; }
    .portfolio-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .case-study-grid { grid-template-columns: 1fr; }
    footer { padding: 40px 20px; }
    .footer-container { flex-direction: column-reverse; gap: 40px; }
    .footer-right { align-items: flex-start; text-align: left; width: 100%; }
    .footer-left { width: 100%; }
    .float-wa { width: 50px; height: 50px; bottom: 30px; right: 20px; }
    .menu-list { width: 100%; padding: 0 15px; }
    
    .product-footer {
        flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 12px;
    }
    .product-price { font-size: 15px !important; margin-bottom: 2px; }
    .buy-btn { width: 100%; text-align: center; display: block; padding: 10px 0; font-size: 12px; background: #fff; color: #000; }
}

/* --- XENDIT MODAL --- */
.xendit-modal-body {
    background: #ffffff !important; color: #333333 !important;
    width: 90%; max-width: 400px; padding: 0 !important;
    border-radius: 12px; overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.x-header { background: #f8f9fa; padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
.x-logo { font-weight: 900; font-size: 22px; color: #1a1a1a; letter-spacing: -1px; }
.x-amount { font-weight: bold; color: #005ce6; font-size: 16px; }
.x-content { padding: 20px; max-height: 60vh; overflow-y: auto; }
.x-label { display: block; font-size: 11px; font-weight: bold; color: #888; margin-top: 15px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.x-label:first-child { margin-top: 0; }
.x-option { display: flex; align-items: center; padding: 12px; border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s ease; background: #fff; }
.x-option:hover { border-color: #005ce6; background: #f0f7ff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.x-icon { width: 40px; height: 40px; background: #eee; border-radius: 6px; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 10px; color: #555; margin-right: 15px; flex-shrink: 0; }
.x-name { font-size: 14px; font-weight: 600; color: #333; line-height: 1.3; }
.x-footer { background: #f8f9fa; padding: 10px; text-align: center; font-size: 10px; color: #aaa; border-top: 1px solid #eee; }
.x-cancel-btn { width: 100%; padding: 15px; background: #fff; border: none; border-top: 1px solid #eee; color: #ff4757; cursor: pointer; font-weight: bold; font-size: 13px; transition: background 0.3s; }
.x-cancel-btn:hover { background: #fff1f2; }

/* --- PROMO BANNER --- */
.promo-banner { display: none; opacity: 0; transform: scale(0.9) translateY(20px); }
.promo-banner.show { display: block; animation: bounceInSmooth 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes bounceInSmooth {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    60% { opacity: 1; transform: scale(1.03) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- PAGINATION & MISC --- */
.pagination-container {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 40px; padding-bottom: 30px; flex-wrap: wrap; width: 100%;
}
.page-btn {
    width: 40px; height: 40px; border-radius: 50%; background: #111; border: 1px solid #333;
    color: #888; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 14px; transition: all 0.3s ease; cursor: pointer; flex-shrink: 0;
}
.page-btn:hover { border-color: #fff; color: #fff; transform: translateY(-3px); }
.page-btn.active { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }

.currency-switch-container { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.currency-toggle { background: #111; border: 1px solid #333; border-radius: 30px; padding: 4px; display: inline-flex; }
.currency-btn { background: transparent; border: none; color: #666; padding: 6px 15px; font-size: 11px; font-weight: bold; border-radius: 20px; transition: all 0.3s; cursor: pointer; }
.currency-btn.active { background: #fff; color: #000; box-shadow: 0 2px 10px rgba(255,255,255,0.2); }
.currency-btn:hover:not(.active) { color: #fff; }

/* --- LEAD MAGNET POPUP --- */
.lead-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: all 0.5s ease;
    backdrop-filter: blur(5px);
}
.lead-modal.show { opacity: 1; pointer-events: auto; }
.lead-content {
    background: #111; border: 1px solid #333; width: 90%; max-width: 800px;
    display: flex; border-radius: 12px; overflow: hidden; position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: translateY(50px); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lead-modal.show .lead-content { transform: translateY(0); }
.lead-left { flex: 1; display: none; }
.lead-left img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.lead-right { flex: 1.2; padding: 40px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.close-lead { position: absolute; top: 15px; right: 20px; color: #666; font-size: 24px; cursor: pointer; z-index: 10; }
.close-lead:hover { color: #fff; }
.lead-badge { display: inline-block; background: #fff; color: #000; font-weight: 900; padding: 2px 8px; font-size: 10px; border-radius: 4px; margin-bottom: 15px; width: fit-content; }
.lead-right h2 { font-size: 24px; color: #fff; margin-bottom: 10px; line-height: 1.2; text-transform: uppercase; }
.lead-right p { font-size: 14px; color: #888; margin-bottom: 25px; line-height: 1.6; }
.lead-right input { width: 100%; padding: 12px; margin-bottom: 10px; background: #000; border: 1px solid #333; color: #fff; border-radius: 6px; }
.lead-right input:focus { border-color: #fff; outline: none; }
.lead-btn { width: 100%; padding: 15px; background: #fff; color: #000; font-weight: 900; border: none; border-radius: 6px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; display: block; text-align: center; font-size: 12px; }
.lead-btn:hover { background: #ccc; }
@media (min-width: 768px) { .lead-left { display: block; } }

/* --- 404 & ERROR PAGE --- */
.error-page-wrapper { min-height: 80vh; display: flex; justify-content: center; align-items: center; flex-direction: column; }
.error-card { text-align: center; max-width: 500px; width: 100%; animation: fadeInUp 0.8s ease-out; }
.error-img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #333; box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); margin-bottom: 30px; transition: transform 0.3s; }
.error-img:hover { transform: scale(1.02) rotate(-1deg); }
.error-actions p { color: #888; margin-bottom: 20px; font-size: 14px; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- SECTION: THE CORE --- */
.studio-grid-section {
    background-color: #080808; padding: 100px 20px; position: relative; z-index: 10; min-height: 80vh; border-top: 1px solid #1a1a1a;
}
.grid-container { max-width: 1200px; margin: 0 auto; }
.grid-title { margin-bottom: 60px; text-align: center; padding-left: 0; border-left: none; }
.grid-title h2 { font-size: 2.5rem; color: #fff; margin-bottom: 10px; font-weight: 900; letter-spacing: -1px; }
.grid-title p { color: #666; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.card-icon-img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 25px; display: block; filter: invert(1) brightness(2); }
.grid-card:hover .card-icon-img { transform: scale(1.1); transition: transform 0.3s ease; }

.grid-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-card {
    background: #111; border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
    border: 1px solid #222; display: flex; flex-direction: column; min-height: 300px;
    text-decoration: none; transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s;
}
.grid-card:hover { transform: translateY(-10px); border-color: #333; background: #141414; }
.card-bg-ornament {
    position: absolute; bottom: -30px; right: -30px; width: 200px; height: 200px;
    opacity: 0.1; pointer-events: none; transition: all 0.6s ease; filter: invert(1);
}
.ornament-img { width: 100%; height: 100%; object-fit: contain; }
.grid-card:hover .card-bg-ornament { opacity: 0.25; transform: scale(1.1) rotate(-5deg); }
.grid-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 15px; font-weight: 800; }
.grid-card p { font-size: 1rem; color: #888; line-height: 1.6; margin-bottom: 30px; }
.card-link { margin-top: auto; font-size: 0.9rem; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.card-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.reveal-item { opacity: 0; transform: translateY(60px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-item.active { opacity: 1; transform: translateY(0); }

/* =========================================
   FIXED: CINEMATIC INTRO SEQUENCE (FINAL)
   ========================================= */

/* 1. RESET & HIDE AWAL (Agar tidak muncul sebelum waktunya) */
/* REVISI: MENGHAPUS '!important' AGAR ANIMASI BISA JALAN */
.hero-content .intro-logo, 
.hero-content .intro-text, 
.hero-content .intro-btn,
.core-animate {
    opacity: 0; 
    visibility: visible;
}

/* 2. DEFINISI GERAKAN (KEYFRAMES) */

/* Teks: Muncul dari bawah, besar, lalu mengecil ke posisi normal */
@keyframes introTextAction {
    0% { opacity: 0; transform: translateY(50px) scale(1.1); letter-spacing: 2px; }
    40% { opacity: 1; transform: translateY(-20px) scale(1.1); letter-spacing: 4px; } /* Fokus di tengah */
    100% { opacity: 0.9; transform: translateY(0) scale(1); letter-spacing: 6px; } /* Turun ke posisi normal */
}

/* Logo: Jatuh dari atas menimpa */
@keyframes introLogoDrop {
    0% { opacity: 0; transform: translateY(-100px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Tombol & Judul Core: Muncul pelan */
@keyframes introFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* The Core Cards: Naik ke atas */
@keyframes introCardRise {
    0% { opacity: 0; transform: translateY(80px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 3. JADWAL TAYANG (TIMING SEQUENCE - DIPERLAMBAT AGAR TIDAK KETUTUP LOADING) */

/* DETIK 1.0: Teks Copywriting Muncul Duluan (Delay diperlama jadi 1s) */
.hero-content .intro-text {
    animation: introTextAction 2s cubic-bezier(0.2, 1, 0.3, 1) forwards !important;
    animation-delay: 1.0s !important;
}

/* DETIK 2.0: Logo Jatuh (Saat teks mulai turun) */
.hero-content .intro-logo {
    animation: introLogoDrop 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards !important;
    animation-delay: 2.0s !important;
}

/* DETIK 2.8: Tombol Start Muncul */
.hero-content .intro-btn {
    animation: introFadeUp 1s ease forwards !important;
    animation-delay: 2.8s !important;
}

/* DETIK 3.2++: The Core Muncul Satu-Satu */
.core-animate {
    animation: introCardRise 1s cubic-bezier(0.2, 1, 0.3, 1) forwards !important;
}

/* Delay masing-masing kartu */
.core-animate[style*="--delay: 1"] { animation-delay: 3.2s !important; }
.core-animate[style*="--delay: 2"] { animation-delay: 3.4s !important; }
.core-animate[style*="--delay: 3"] { animation-delay: 3.6s !important; }

/* 4. RESPONSIVE ADJUSTMENT */
@media (max-width: 768px) {
    .intro-text {
        font-size: 0.7rem; 
        letter-spacing: 3px !important;
    }
    @keyframes introTextAction {
        0% { opacity: 0; transform: translateY(30px); letter-spacing: 1px; }
        100% { opacity: 0.9; transform: translateY(0); letter-spacing: 3px; }
    }
}

/* --- 13. TESTIMONIAL ADMIN STYLE (Tambahan Baru) --- */
.delete-btn {
    background-color: #D32F2F; /* Merah Gelap */
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 15px;
    display: inline-block;
    transition: background 0.3s;
    text-transform: uppercase;
}
.delete-btn:hover {
    background-color: #b71c1c;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

/* --- UPDATE: CUSTOM WA STICKER STYLE --- */

/* 1. Reset Wadah Tombol (Hilangkan lingkaran hitam) */
.float-wa {
    /* Matikan background & border lama */
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    /* Perbesar ukuran agar detail sticker terlihat jelas */
    width: 90px !important;  /* Ukuran diperbesar dari 60px ke 90px */
    height: 90px !important;
    
    /* Sesuaikan posisi agar pas */
    bottom: 25px !important;
    right: 25px !important;
    
    /* Pastikan flexbox tetap aktif untuk centering */
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible !important; /* Agar bayangan tidak terpotong */
}

/* 2. Style untuk Gambar Sticker */
.wa-sticker-img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    /* Beri bayangan agar sticker terlihat 'mengambang' & pop-up */
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.6)); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Efek Hover (Saat kursor diarahkan) */
.float-wa:hover {
    background-color: transparent !important; /* Cegah background putih muncul */
    transform: none !important; /* Reset transform container, kita mainkan di img saja */
}

.float-wa:hover .wa-sticker-img {
    /* Efek membesar sedikit dan miring (playful) */
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.8)) brightness(1.1);
}

/* 4. Responsive (Untuk HP) */
@media (max-width: 768px) {
    .float-wa {
        /* Di HP ukurannya sedikit lebih kecil agar tidak menutupi konten */
        width: 75px !important;
        height: 75px !important;
        bottom: 20px !important;
        right: 15px !important;
    }
}

/* --- UPDATE STYLE TOMBOL WA (DINAMIS JS) --- */

/* 1. Container Utama (Default: Sembunyi) */
.float-wa {
    width: 130px !important;
    height: 130px !important;
    bottom: 20px !important;
    right: 20px !important;
    
    /* Default: Hilang & Turun ke bawah */
    opacity: 0; 
    transform: translateY(50px) scale(0.8);
    pointer-events: none; /* Supaya gak kepencet pas ilang */
    
    /* Transisi Halus saat Muncul/Hilang */
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Efek membal (Bounce) */
    z-index: 9999;
}

/* 2. Class 'show' (Dipanggil JS saat waktunya muncul) */
.float-wa.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* --- STYLE BALON DIALOG (DELAY 3 DETIK) --- */

.comic-bubble {
    position: absolute;
    
    /* Atur Posisi & Ukuran (Sesuai settingan terakhir Anda) */
    bottom: 150px;  
    right: 20px;
    width: 130px;
    font-size: 10px;
    
    /* Styling Kotak */
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 12px 18px;
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    z-index: 10001;
    transform-origin: bottom right;

    /* --- LOGIKA ANIMASI (DEFAULT: SEMBUNYI) --- */
    opacity: 0;                /* Mulai transparan */
    transform: scale(0);       /* Mulai kecil (zoom out) */
    
    /* Transisi saat HILANG (Cepat, tanpa delay) */
    transition: all 0.3s ease-out; 
}

/* --- SAAT TOMBOL MUNCUL (Class .show aktif) --- */
.float-wa.show .comic-bubble {
    opacity: 1;           /* Jadi terlihat */
    transform: scale(1);  /* Jadi ukuran normal */
    
    /* --- INI KUNCINYA: DELAY 3 DETIK --- */
    transition-delay: 3s;      /* Tunggu 3 detik baru animasi jalan */
    transition-duration: 0.5s; /* Durasi animasi 'pop' 0.5 detik */
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek membal */
}

/* Ekor Segitiga (Biarkan seperti biasa) */
.comic-bubble::after {
    content: ''; position: absolute; bottom: -10px; right: 30px;
    border-left: 10px solid transparent; border-right: 0 solid transparent; border-top: 12px solid #000;
}
.comic-bubble::before {
    content: ''; position: absolute; bottom: -6px; right: 31px; z-index: 1;
    border-left: 8px solid transparent; border-right: 0 solid transparent; border-top: 10px solid #fff;
}

/* Hover: Kalau di-hover mouse, balon langsung muncul (bypass delay) */
.float-wa:hover .comic-bubble {
    opacity: 1 !important;
    transform: scale(1) translateY(-5px) !important;
    transition-delay: 0s !important; /* Hapus delay kalau di-hover */
}