* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --border-color: #333;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: rgba(15,15,15,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.7rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 6px 7px;
    border-radius: 6px;
}

.logo-text {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-subtext {
    display: block;
    font-size: 0.58rem;
    color: var(--primary-gold);
    letter-spacing: 2.5px;
    font-weight: 600;
}

/* Nav menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-menu li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    display: block;
}

.nav-menu li a:hover {
    color: var(--primary-gold);
    background: rgba(212,175,55,0.08);
}

.nav-menu .dropdown a i {
    font-size: 0.6rem;
    margin-left: 4px;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.whatsapp-btn {
    color: #25D366;
    font-size: 1.4rem;
    transition: all 0.2s;
    line-height: 1;
}

.whatsapp-btn:hover {
    color: #1ebe5d;
    transform: scale(1.15);
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--darker-bg);
    border: none;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.78rem;
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #c4a037;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.btn-primary.large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-secondary {
    background-color: var(--primary-gold);
    color: var(--darker-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background-color: #c4a037;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--darker-bg);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-subtitle {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
    line-height: 1.2;
}

.hero-heading {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-top: 5px;
}

.feature-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Kiosk Showcase */
.kiosk-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    position: relative;
}

.kiosk-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    transition: transform 0.4s ease;
    display: block;
}

.kiosk-item {
    background: #1e1e1e;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    height: 240px;
    overflow: hidden;
    position: relative;
    transition: all 0.35s ease;
}

.kiosk-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 8px 30px rgba(212,175,55,0.35);
    transform: translateY(-6px);
}

.kiosk-item:hover img {
    transform: scale(1.06);
}

.kiosk-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 1.2rem 0.5rem 0.7rem;
    letter-spacing: 1px;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kiosk-item:hover .kiosk-label {
    opacity: 1;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--darker-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.section-description {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card.featured {
    border: 2px solid var(--primary-gold);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-gold);
    color: var(--darker-bg);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.product-image {
    height: 220px;
    background: #1e1e1e;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
    text-align: left;
}

.product-features span {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features i {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

.btn-product-detail {
    width: 100%;
    padding: 0.7rem;
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin-top: 1rem;
}

.btn-product-detail:hover {
    background-color: var(--primary-gold);
    color: var(--darker-bg);
    border-color: var(--primary-gold);
}

.product-indoor,
.product-outdoor,
.product-self,
.product-cabinet {
    background-color: #2a2a2a !important;
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
}

.product-indoor {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300"><rect fill="%23333" width="200" height="300"/><rect fill="%234a90e2" x="30" y="30" width="140" height="180" rx="8"/><rect fill="%23555" x="70" y="230" width="60" height="50" rx="5"/></svg>');
}

.product-outdoor {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300"><rect fill="%23555" width="200" height="300"/><rect fill="%234a90e2" x="30" y="40" width="140" height="160" rx="8"/><rect fill="%23333" x="60" y="220" width="80" height="60" rx="5"/></svg>');
}

.product-self {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 300"><rect fill="%23f0f0f0" width="250" height="300" rx="10"/><rect fill="%234a90e2" x="40" y="30" width="170" height="130" rx="8"/><rect fill="%23888" x="80" y="180" width="90" height="90" rx="5"/></svg>');
    background-size: 70%;
}

.product-cabinet {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300"><rect fill="%23ddd" width="200" height="300" rx="8"/><rect fill="%23333" x="20" y="20" width="160" height="120" rx="5"/><rect fill="%23666" x="20" y="160" width="160" height="120" rx="5"/></svg>');
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.products-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-arrow {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--darker-bg);
}

/* Custom Section */
.custom-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
    transition: all 0.3s ease;
}

/* Highlight animation for custom section */
@keyframes highlight {
    0% {
        box-shadow: inset 0 0 0 0 rgba(212, 175, 55, 0);
    }
    50% {
        box-shadow: inset 0 0 60px 10px rgba(212, 175, 55, 0.3);
    }
    100% {
        box-shadow: inset 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.custom-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--text-white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-gold);
}

.custom-section .btn-primary {
    display: block;
    margin: 0 auto;
}

/* Trusted Section */
.trusted {
    padding: 4rem 0;
    background-color: var(--darker-bg);
    text-align: center;
}

.trusted-title {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.trusted-heading {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.logo-item {
    padding: 0.5rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    border-radius: 8px;
    filter: grayscale(30%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.logo-item svg {
    display: block;
    border-radius: 6px;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-gold);
}

.footer-col p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trusted-logos {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .kiosk-showcase {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .custom-services {
        grid-template-columns: 1fr;
    }
    
    .trusted-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* =====================
   MODAL DETAIL PRODUK
   ===================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #333;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--primary-gold);
    color: #000;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 480px;
}

/* Kolom Kiri */
.modal-left {
    background: #1e1e1e;
    border-radius: 16px 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
}

/* Kolom Kanan */
.modal-right {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.modal-category {
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.modal-desc {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-specs h4,
.modal-use h4 {
    font-size: 0.9rem;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-specs ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.modal-specs ul li {
    color: #ccc;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-specs ul li::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--primary-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-tag {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #ccc;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.82rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.btn-modal-wa {
    flex: 1;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-modal-wa:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.btn-modal-custom {
    flex: 1;
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-modal-custom:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-2px);
}

/* Responsive Modal */
@media (max-width: 700px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-left {
        border-radius: 16px 16px 0 0;
        min-height: 220px;
    }

    .modal-specs ul {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }
}

/* =====================
   FLOATING WHATSAPP BUTTON
   ===================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.floating-wa i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.floating-wa-text {
    position: absolute;
    right: 70px;
    background: #25D366;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    width: auto;
    padding: 0 1.5rem;
    border-radius: 30px;
}

.floating-wa:hover i {
    transform: scale(1.1);
    margin-right: 10px;
}

.floating-wa:hover .floating-wa-text {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    right: 0;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

.floating-wa {
    animation: pulse 2s infinite;
}

/* =====================
   SCROLL TO TOP BUTTON
   ===================== */
.scroll-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: var(--primary-gold);
    color: var(--darker-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #c4a037;
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

/* =====================
   MOBILE RESPONSIVE
   ===================== */
@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .floating-wa i {
        font-size: 1.8rem;
    }

    .floating-wa:hover {
        width: 55px;
        border-radius: 50%;
        padding: 0;
    }

    .floating-wa:hover i {
        margin-right: 0;
    }

    .floating-wa-text {
        display: none;
    }

    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* =====================
   STATISTICS SECTION
   ===================== */
.statistics {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8960c 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--darker-bg);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item h3::after {
    content: '+';
    font-size: 2rem;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================
   TESTIMONIALS SECTION
   ===================== */
.testimonials {
    padding: 5rem 0;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
}

.testimonial-track {
    display: block;
    position: relative;
    min-height: 220px;
}

.testimonial-card {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-gold);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.15);
}

.stars {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), #b8960c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--darker-bg);
    font-size: 1rem;
    flex-shrink: 0;
}

.client-details strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.client-details span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-gold);
    transform: scale(1.3);
}

@media (max-width: 900px) {
    .testimonial-track {
        grid-template-columns: 1fr;
    }
}

/* =====================
   PORTFOLIO SECTION
   ===================== */
.portfolio {
    padding: 5rem 0;
    background-color: var(--darker-bg);
}

/* =============================================
   PORTFOLIO — NEW DESIGN
   ============================================= */

/* Filter buttons */
.pf-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.pf-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
}

.pf-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.pf-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
}

.pf-count {
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    padding: 1px 7px;
    font-size: 0.78rem;
}

.pf-btn.active .pf-count {
    background: rgba(0,0,0,0.25);
}

/* Grid */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Individual item */
.pf-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 0;
}

.pf-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212,175,55,0.25);
}

.pf-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
    vertical-align: bottom;
}

.pf-item:hover img {
    transform: scale(1.04);
}

/* Hover overlay */
.pf-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.75), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pf-item:hover .pf-hover {
    opacity: 1;
}

.pf-hover i {
    font-size: 2rem;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* CTA bawah */
.pf-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Lightbox */
.pf-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pf-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.pf-lb-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-lb-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.pf-lb-close,
.pf-lb-prev,
.pf-lb-next {
    position: fixed;
    background: rgba(212,175,55,0.9);
    border: none;
    color: #000;
    cursor: pointer;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

.pf-lb-close { top: 20px; right: 20px; }
.pf-lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.pf-lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.pf-lb-close:hover,
.pf-lb-prev:hover,
.pf-lb-next:hover {
    background: #fff;
}

.pf-lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: var(--primary-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .pf-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pf-lb-prev { left: 8px; }
    .pf-lb-next { right: 8px; }
}

@media (max-width: 480px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* =====================
   FAQ SECTION
   ===================== */
.faq {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: var(--primary-gold);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1.5rem;
    cursor: pointer;
    gap: 1rem;
    user-select: none;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.faq-question i {
    color: var(--primary-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question span {
    color: var(--primary-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 200px;
    padding: 0 1.5rem 1.3rem;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact {
    padding: 5rem 0 0;
    background-color: var(--darker-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

/* Contact Form */
.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select option {
    background: #2a2a2a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gold);
    color: var(--darker-bg);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.btn-submit:hover {
    background: #c4a037;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212,175,55,0.4);
}

.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}


@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =====================
   LIGHTBOX
   ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    background: #1e1e1e;
    padding: 10px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--primary-gold);
    color: var(--darker-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: #fff;
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
}

.lightbox-caption h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.lightbox-caption p {
    color: var(--primary-gold);
    font-size: 0.95rem;
}

/* Video lightbox */
.lightbox-video {
    width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    background: #000;
    display: block;
    outline: none;
}

.lightbox-video-inner {
    max-width: 1100px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* =====================
   ABOUT US SECTION
   ===================== */
.about-us {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, #1e1e1e 100%);
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-subtitle {
    font-size: 0.85rem;
}

.about-content .section-title {
    text-align: left;
    font-size: 2.2rem;
    margin: 0.8rem 0 1.5rem;
    line-height: 1.3;
}

.about-text {
    color: var(--text-gray);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-text strong {
    color: var(--primary-gold);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 2rem 0;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.about-feature-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.about-feature-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
    color: #fff;
}

.about-feature-item p {
    font-size: 0.82rem;
    color: var(--text-gray);
}

.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-buttons .btn-secondary,
.about-buttons .btn-outline {
    text-decoration: none;
    font-size: 0.9rem;
}

/* About Image Grid */
.about-image {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

/* Gambar 1 — besar, span 2 baris di kiri */
.about-img-item.about-img-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Gambar 2 & 3 — kecil di kanan, tumpuk */
.about-img-item.about-img-2 {
    grid-column: 2;
    grid-row: 1;
}

.about-img-item.about-img-3 {
    grid-column: 2;
    grid-row: 2;
}

/* Gambar 4 — tersembunyi, tidak perlu ditampilkan */
.about-img-item.about-img-4 {
    display: none;
}

.about-img-item {
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-img-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(212,175,55,0.30);
    border-color: var(--primary-gold);
}

/* Gambar besar (item 1) */
.about-img-item.about-img-1 img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: contain;
    object-position: center;
    padding: 16px;
    display: block;
    transition: transform 0.4s ease;
}

/* Gambar kecil (item 2 & 3) */
.about-img-item.about-img-2 img,
.about-img-item.about-img-3 img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    display: block;
    transition: transform 0.4s ease;
}

.about-img-item:hover img {
    transform: scale(1.06);
}

/* Label overlay di setiap gambar */
.about-img-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, transparent 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding: 1.5rem 0.5rem 0.8rem;
    border-radius: 0 0 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-img-item:hover::after {
    opacity: 1;
}

/* Aksen border emas di sudut gambar besar */
.about-img-item.about-img-1::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-top: 3px solid var(--primary-gold);
    border-left: 3px solid var(--primary-gold);
    border-radius: 4px 0 0 0;
    z-index: 2;
    pointer-events: none;
}

/* Badge — di bawah grid, tidak overlap gambar */
.about-badge {
    display: inline-flex;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #f5c842 100%);
    border-radius: 20px;
    padding: 1rem 1.6rem;
    box-shadow: 0 8px 28px rgba(212,175,55,0.40), 0 3px 10px rgba(0,0,0,0.15);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-content i {
    font-size: 2.4rem;
    color: rgba(0,0,0,0.55);
    flex-shrink: 0;
}

.badge-content > div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.badge-content strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.5px;
}

.badge-content span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-subtitle {
        display: block;
        text-align: center;
    }

    .about-buttons {
        justify-content: center;
    }

    .about-badge {
        margin-top: 1.5rem;
    }

    /* Mobile: grid 2 kolom sejajar */
    .about-image-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .about-img-item.about-img-1 {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .about-img-item.about-img-1 img {
        min-height: 220px;
    }

    .about-img-item.about-img-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .about-img-item.about-img-3 {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 500px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-buttons {
        flex-direction: column;
    }
}

/* =============================================
   FITUR TAMBAHAN
   ============================================= */

/* --- 1. SCROLL PROGRESS BAR --- */
.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--primary-gold), #fff);
    transition: width 0.1s linear;
    z-index: 999;
}

/* --- 2. MOBILE HAMBURGER MENU --- */
.burger-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.burger-btn:hover {
    background: var(--primary-gold);
    color: var(--darker-bg);
    border-color: var(--primary-gold);
}

@media (max-width: 900px) {
    .burger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(12px);
        border-top: 2px solid var(--primary-gold);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 0;
        z-index: 2000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 0.85rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 0.88rem;
        letter-spacing: 0.5px;
        border-radius: 0;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu li a:hover {
        background: rgba(212,175,55,0.1);
        color: var(--primary-gold);
        padding-left: 2rem;
    }

    .navbar .container {
        position: relative;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
}

/* --- 3. TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    z-index: 99999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success {
    border-color: #25D366;
}

.toast-success i {
    color: #25D366;
    font-size: 1.2rem;
}

.toast-error {
    border-color: #ff4444;
}

.toast-error i {
    color: #ff4444;
    font-size: 1.2rem;
}

/* --- 4. PORTFOLIO FILTER BUTTONS --- */
.portfolio-filters {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.filter-btn {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    color: var(--darker-bg);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

/* --- 5. PRODUCT COMPARE CHECKBOX --- */
.product-compare-check {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-gold);
    z-index: 5;
}

/* --- 6. COMPARISON PANEL --- */
.comparison-panel {
    position: fixed;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--darker-bg);
    border: 1px solid var(--primary-gold);
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 2rem;
    width: 90%;
    max-width: 500px;
    z-index: 9990;
    transition: bottom 0.4s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 -10px 40px rgba(212,175,55,0.2);
}

.comparison-panel.active {
    bottom: 0;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.comparison-header h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.comparison-header button {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    transition: color 0.3s;
}

.comparison-header button:hover { color: var(--primary-gold); }

.comparison-body p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- 7. ACTIVE NAV LINK HIGHLIGHT --- */
.nav-menu li a.active {
    color: var(--primary-gold);
}

/* --- 8. IMAGE LAZY LOAD FADE --- */
img {
    transition: opacity 0.4s ease;
}

img.loaded {
    opacity: 1;
}

/* --- 9. TESTIMONIAL SLIDER SMOOTH --- */
.testimonial-card {
    animation: fadeIn 0.5s ease;
}

/* --- 10. TYPING CURSOR --- */
.hero-heading::after {
    content: '|';
    color: var(--primary-gold);
    animation: blink 0.8s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- 11. ACTIVE NAVBAR BASED ON SCROLL --- */
.nav-menu li a.scroll-active {
    color: var(--primary-gold);
    background: rgba(212,175,55,0.08);
    position: relative;
}

.nav-menu li a.scroll-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
}

/* --- 12. PRODUCT CARD POSITION RELATIVE (for checkbox) --- */
.product-card {
    position: relative;
}

/* =============================================
   PROMO BANNER
   ============================================= */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-gold), #b8960c);
    color: var(--darker-bg);
    text-align: center;
    padding: 0.7rem 3rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
}

.promo-banner p { margin: 0; font-weight: 500; }

.promo-banner a {
    color: var(--darker-bg);
    font-weight: 700;
    text-decoration: underline;
}

.promo-banner a:hover { opacity: 0.7; }

.promo-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--darker-bg);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.promo-close:hover { opacity: 1; }

/* =============================================
   FOOTER IMPROVEMENTS
   ============================================= */
.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--primary-gold); }

.footer-col p a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-col p a:hover { color: var(--primary-gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.88rem;
}

.footer-legal {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal a:hover { color: var(--primary-gold); }

.footer-legal span { color: var(--border-color); }

/* =============================================
   PRIVACY POLICY MODAL
   ============================================= */
.privacy-content {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.privacy-content h2 {
    color: var(--primary-gold);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.privacy-content h3 {
    color: #fff;
    margin: 1.2rem 0 0.5rem;
    font-size: 1rem;
}

.privacy-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.privacy-content a {
    color: var(--primary-gold);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .promo-banner {
        font-size: 0.8rem;
        padding: 0.7rem 2.5rem;
    }
}

/* =============================================
   KALKULATOR ESTIMASI HARGA
   ============================================= */
.kalkulator {
    padding: 5rem 0;
    background: linear-gradient(135deg, #111 0%, var(--darker-bg) 100%);
    border-top: 1px solid var(--border-color);
}

.kalk-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
    margin-top: 3rem;
}

/* ---- FORM KOLOM KIRI ---- */
.kalk-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kalk-step {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
}

.kalk-step-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.kalk-step-label small {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 0.8rem;
}

.kalk-num {
    background: var(--primary-gold);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Radio options grid */
.kalk-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.kalk-opt input[type="radio"] {
    display: none;
}

.kalk-opt-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.kalk-opt-inner i {
    font-size: 1.6rem;
    color: var(--text-gray);
    transition: color 0.25s;
}

.kalk-opt-inner strong {
    font-size: 0.85rem;
    color: #ccc;
    display: block;
}

.kalk-opt-inner span {
    font-size: 0.72rem;
    color: var(--text-gray);
    display: block;
}

.kalk-opt input[type="radio"]:checked + .kalk-opt-inner,
.kalk-opt-inner:hover {
    border-color: var(--primary-gold);
    background: rgba(212,175,55,0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.2);
}

.kalk-opt input[type="radio"]:checked + .kalk-opt-inner i,
.kalk-opt-inner:hover i {
    color: var(--primary-gold);
}

.kalk-opt input[type="radio"]:checked + .kalk-opt-inner strong {
    color: var(--primary-gold);
}

/* Checkbox fitur */
.kalk-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.kalk-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    color: #ccc;
    background: rgba(255,255,255,0.02);
}

.kalk-check:hover {
    border-color: var(--primary-gold);
    background: rgba(212,175,55,0.07);
}

.kalk-check input[type="checkbox"] {
    accent-color: var(--primary-gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.kalk-check input[type="checkbox"]:checked ~ span {
    color: #fff;
}

.kalk-check span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.kalk-check span i {
    color: var(--primary-gold);
    font-size: 0.85rem;
    width: 14px;
}

/* Quantity stepper */
.kalk-qty {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.kalk-qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.kalk-qty-btn:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
}

#kalkQtyVal {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-gold);
    min-width: 40px;
    text-align: center;
}

.kalk-qty-note {
    font-size: 0.8rem;
    color: #4ade80;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.3);
    border-radius: 20px;
    display: none;
}

/* ---- RESULT KOLOM KANAN ---- */
.kalk-result {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    position: sticky;
    top: 90px;
}

.kalk-result-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.kalk-result-header i {
    font-size: 1.4rem;
    color: var(--primary-gold);
}

.kalk-result-header h3 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.kalk-placeholder {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-gray);
}

.kalk-placeholder i {
    font-size: 2rem;
    color: var(--border-color);
    display: block;
    margin-bottom: 0.8rem;
}

.kalk-placeholder p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Breakdown rows */
.kalk-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.kalk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.kalk-row > span:first-child {
    color: var(--text-gray);
}

.kalk-row > span:last-child {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.kalk-diskon > span:first-child {
    color: #4ade80;
}

.kalk-diskon-val {
    color: #4ade80 !important;
}

.kalk-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.kalk-total-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kalk-total-row > span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
}

.kalk-price-range {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.kalk-price-min {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.kalk-range-sep {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.kalk-price-max {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-gold);
}

.kalk-disclaimer {
    margin-top: 0.8rem;
    font-size: 0.76rem;
    color: var(--text-gray);
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    line-height: 1.5;
}

.kalk-disclaimer i {
    color: var(--primary-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Action buttons */
.kalk-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.kalk-btn-wa {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s;
}

.kalk-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.kalk-btn-wa i { font-size: 1.1rem; }

.kalk-btn-reset {
    width: 100%;
    padding: 0.7rem;
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.kalk-btn-reset:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Badge list bawah */
.kalk-badge-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.kalk-badge-list span {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kalk-badge-list i {
    color: #4ade80;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .kalk-wrapper {
        grid-template-columns: 1fr;
    }

    .kalk-result {
        position: static;
    }
}

@media (max-width: 768px) {
    .kalk-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .kalk-checks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kalk-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .kalk-price-min,
    .kalk-price-max {
        font-size: 1.2rem;
    }
}

/* =============================================
   DARK / LIGHT MODE
   ============================================= */
body.light-mode {
    --darker-bg:   #f0f0f0;
    --dark-bg:     #ffffff;
    --text-white:  #111111;
    --text-gray:   #555555;
    --border-color:#dddddd;
    background: #f0f0f0;
    color: #111;
}

body.light-mode .header,
body.light-mode .footer,
body.light-mode .products,
body.light-mode .trusted,
body.light-mode .portfolio,
body.light-mode .contact,
body.light-mode .kalkulator {
    background: #ffffff;
}

body.light-mode .product-card,
body.light-mode .service-card,
body.light-mode .faq-item,
body.light-mode .testimonial-card,
body.light-mode .kalk-step,
body.light-mode .kalk-result,
body.light-mode .kalk-opt-inner {
    background: #f8f8f8;
    border-color: #ddd;
    color: #111;
}

body.light-mode .product-title,
body.light-mode .section-title,
body.light-mode .hero-title,
body.light-mode .faq-question span,
body.light-mode .about-content .section-title {
    color: #111;
}

body.light-mode .nav-menu a,
body.light-mode .logo-text {
    color: #111;
}

body.light-mode .hero {
    background: linear-gradient(to bottom, #e8e8e8, #f5f5f5);
}

body.light-mode .about-us {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

body.light-mode .statistics {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8960c 100%);
}

body.light-mode .kalk-step-label,
body.light-mode .kalk-opt-inner strong,
body.light-mode .kalk-result-header h3,
body.light-mode #kalkQtyVal {
    color: #111;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: #fff;
    color: #111;
    border-color: #ccc;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 260px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-gold);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--primary-gold);
    color: #000;
    transform: rotate(20deg) scale(1.1);
}

/* =============================================
   SOCIAL PROOF NOTIFICATION
   ============================================= */
.social-proof {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 3px solid var(--primary-gold);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 8000;
    max-width: 290px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transform: translateX(-130%);
    transition: transform 0.5s cubic-bezier(.34,1.56,.64,1);
}

.social-proof.show {
    transform: translateX(0);
}

.sp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), #b8960c);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000;
    font-size: 0.9rem;
}

.sp-text {
    flex: 1;
    min-width: 0;
}

.sp-text span {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.sp-text small {
    font-size: 0.72rem;
    color: var(--text-gray);
}

.sp-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.2rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.sp-close:hover { color: #fff; }

body.light-mode .social-proof {
    background: #fff;
    border-color: #ddd;
    border-left-color: var(--primary-gold);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

body.light-mode .sp-text span { color: #111; }

/* =============================================
   EXIT INTENT POPUP
   ============================================= */
.exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.exit-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.exit-popup {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}

.exit-overlay.active .exit-popup {
    transform: scale(1) translateY(0);
}

.exit-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    transition: color 0.2s;
}

.exit-close:hover { color: #fff; }

.exit-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), #b8960c);
    color: #000;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.exit-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.6rem;
}

.exit-sub {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.exit-sub strong { color: var(--primary-gold); }

.exit-offer {
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exit-offer-item {
    font-size: 0.88rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exit-offer-item i { color: #4ade80; }

.exit-countdown {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
}

#exitTimer {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-gold);
    font-variant-numeric: tabular-nums;
}

.exit-btn-wa {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s;
    margin-bottom: 0.7rem;
}

.exit-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.exit-btn-skip {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.exit-btn-skip:hover { color: #fff; }

body.light-mode .exit-popup {
    background: #fff;
    border-color: #ddd;
}

body.light-mode .exit-title { color: #111; }

/* =============================================
   COMPARISON TABLE
   ============================================= */
.comparison {
    padding: 5rem 0;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.comp-table-wrap {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.comp-table thead tr {
    background: rgba(212,175,55,0.08);
}

.comp-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid var(--border-color);
    line-height: 1.5;
}

.comp-table th i {
    display: block;
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
}

.comp-feature-col {
    text-align: left !important;
    width: 180px;
    color: var(--text-gray) !important;
    font-weight: 600 !important;
}

.comp-table td {
    padding: 0.95rem 1rem;
    text-align: center;
    font-size: 0.88rem;
    color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.comp-table tr:last-child td { border-bottom: none; }

.comp-table tbody tr:hover td {
    background: rgba(212,175,55,0.04);
}

.comp-label {
    text-align: left !important;
    color: var(--text-gray) !important;
    font-weight: 500 !important;
    padding-left: 1.2rem !important;
}

/* Highlighted column */
.comp-highlight {
    background: rgba(212,175,55,0.07) !important;
    border-left: 1px solid rgba(212,175,55,0.25) !important;
    border-right: 1px solid rgba(212,175,55,0.25) !important;
    position: relative;
}

.comp-popular {
    display: block;
    font-size: 0.65rem;
    background: var(--primary-gold);
    color: #000;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-top: 0.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.comp-yes { color: #4ade80; font-size: 1rem; }
.comp-no  { color: #555; font-size: 1rem; }

/* Action row buttons */
.comp-action-row td { padding-top: 1.2rem; padding-bottom: 1.2rem; }

.comp-btn {
    padding: 0.55rem 1.1rem;
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.comp-btn:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-2px);
}

.comp-btn-gold {
    background: var(--primary-gold);
    color: #000;
}

.comp-btn-gold:hover {
    background: #f5c842;
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

body.light-mode .comp-table-wrap { border-color: #ddd; }
body.light-mode .comp-table th { color: #111; background: rgba(212,175,55,0.1); }
body.light-mode .comp-table td { color: #333; border-color: rgba(0,0,0,0.07); }
body.light-mode .comp-table tbody tr:hover td { background: rgba(212,175,55,0.06); }
body.light-mode .comp-highlight { background: rgba(212,175,55,0.1) !important; }

/* Light mode image containers */
body.light-mode .kiosk-item,
body.light-mode .product-image,
body.light-mode .about-img-item,
body.light-mode .portfolio-image,
body.light-mode .modal-left {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .theme-toggle { bottom: 230px; right: 20px; }
    .social-proof { left: 15px; right: 15px; max-width: none; bottom: 15px; }
    .exit-popup { padding: 2rem 1.5rem; }
    .exit-title { font-size: 1.5rem; }
}


/* =============================================
   MOBILE RESPONSIVE — KOMPREHENSIF
   Target: max-width 768px (smartphone)
           max-width 480px (smartphone kecil)
   ============================================= */

@media (max-width: 768px) {

    /* === CONTAINER === */
    .container {
        padding: 0 16px;
    }

    /* === SECTION SPACING === */
    .hero, .products, .custom-section, .about-us,
    .statistics, .testimonials, .portfolio, .faq,
    .contact, .kalkulator, .comparison {
        padding: 3rem 0;
    }

    /* === SECTION HEADER === */
    .section-title {
        font-size: 1.7rem;
    }
    .section-description {
        font-size: 0.9rem;
    }

    /* === HERO === */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
    }
    .hero-heading {
        font-size: 1.3rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .feature-item i {
        font-size: 1.5rem;
    }
    .feature-item strong {
        font-size: 0.8rem;
    }
    .feature-item p {
        font-size: 0.75rem;
    }

    /* === KIOSK SHOWCASE === */
    .kiosk-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .kiosk-item {
        height: 160px;
    }
    .kiosk-label {
        opacity: 1;
        font-size: 0.7rem;
    }

    /* === PRODUCTS GRID === */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-card {
        padding: 1rem;
    }
    .product-image {
        height: 160px;
    }
    .product-title {
        font-size: 1rem;
    }
    .product-desc {
        font-size: 0.8rem;
    }
    .product-features span {
        font-size: 0.78rem;
    }

    /* === CUSTOM SERVICES === */
    .custom-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .service-card {
        padding: 1.2rem 1rem;
    }
    .service-card i {
        font-size: 2rem;
    }
    .service-card h3 {
        font-size: 0.88rem;
    }
    .service-card p {
        font-size: 0.78rem;
    }
    .btn-primary.large,
    .btn-mulai-custom {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }

    /* === ABOUT US === */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-images {
        order: -1;
    }
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .about-feature-item {
        gap: 0.5rem;
    }
    .about-feature-item i {
        font-size: 1.3rem;
    }
    .about-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .about-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* === STATISTICS === */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stat-item h3 {
        font-size: 2.2rem;
    }
    .stat-item p {
        font-size: 0.85rem;
    }

    /* === TESTIMONIALS === */
    .testimonial-card {
        padding: 1.5rem 1.2rem;
    }
    .testimonial-text {
        font-size: 0.88rem;
    }

    /* === PORTFOLIO === */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .portfolio-image {
        height: 180px;
    }
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
    }
    .filter-btn {
        font-size: 0.78rem;
        padding: 0.4rem 0.8rem;
    }

    /* === KALKULATOR === */
    .kalk-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .kalk-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .kalk-result {
        position: static;
    }
    .kalk-actions {
        flex-direction: column;
        gap: 0.7rem;
    }
    .kalk-actions button {
        width: 100%;
    }

    /* === COMPARISON TABLE === */
    .comp-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    .comp-table {
        min-width: 480px;
        font-size: 0.8rem;
    }
    .comp-table th,
    .comp-table td {
        padding: 0.7rem 0.5rem;
    }

    /* === FAQ === */
    .faq-question span {
        font-size: 0.9rem;
    }
    .faq-answer p {
        font-size: 0.88rem;
    }

    /* === CONTACT SECTION === */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-info {
        gap: 1rem;
    }
    .contact-item {
        gap: 0.8rem;
    }
    .contact-item i {
        font-size: 1.2rem;
        min-width: 24px;
    }
    .contact-form h3 {
        font-size: 1.3rem;
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    .btn-submit {
        width: 100%;
        padding: 0.9rem;
        font-size: 0.9rem;
    }

    /* === FOOTER === */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-col h4 {
        margin-bottom: 0.7rem;
    }
    .footer-col p,
    .footer-col li {
        font-size: 0.85rem;
    }
    .footer-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .social-links {
        gap: 0.8rem;
    }
    .social-links a {
        font-size: 1.3rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        font-size: 0.82rem;
    }

    /* === PROMO BANNER === */
    .promo-banner p {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* === MODAL === */
    .modal-box {
        max-height: 95vh;
        border-radius: 12px;
    }
    .modal-content {
        grid-template-columns: 1fr;
    }
    .modal-left {
        border-radius: 12px 12px 0 0;
        min-height: 200px;
        padding: 1.2rem;
    }
    .modal-img {
        max-height: 200px;
    }
    .modal-right {
        padding: 1.5rem 1.2rem;
        gap: 0.9rem;
    }
    .modal-title {
        font-size: 1.4rem;
    }
    .modal-specs ul {
        grid-template-columns: 1fr;
    }
    .modal-actions {
        flex-direction: column;
        gap: 0.7rem;
    }
    .btn-modal-wa,
    .btn-modal-custom {
        padding: 0.85rem;
    }

    /* === EXIT POPUP === */
    .exit-popup {
        padding: 2rem 1.2rem;
        margin: 0 12px;
    }
    .exit-title {
        font-size: 1.4rem;
    }
    .exit-actions {
        flex-direction: column;
        gap: 0.7rem;
    }
    .exit-actions a,
    .exit-actions button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* === SCROLL PROGRESS BAR === */
    .scroll-progress-bar {
        height: 3px;
    }
}

/* =============================================
   SMARTPHONE KECIL — max 480px
   ============================================= */
@media (max-width: 480px) {

    /* === HERO === */
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-heading {
        font-size: 1.1rem;
    }
    .hero-features {
        grid-template-columns: 1fr;
    }
    .kiosk-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .kiosk-item {
        height: 130px;
    }

    /* === PRODUCTS === */
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-image {
        height: 200px;
    }

    /* === CUSTOM SERVICES === */
    .custom-services {
        grid-template-columns: 1fr;
    }

    /* === ABOUT === */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* === PORTFOLIO === */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-image {
        height: 220px;
    }

    /* === STATISTICS === */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-item h3 {
        font-size: 1.9rem;
    }

    /* === SECTION TITLE === */
    .section-title {
        font-size: 1.5rem;
    }

    /* === KALKULATOR === */
    .kalk-options {
        grid-template-columns: 1fr 1fr;
    }

    /* === COMPARISON === */
    .comp-table {
        min-width: 420px;
        font-size: 0.75rem;
    }
}

/* =============================================
   SMART FLOATING WHATSAPP BUTTON
   ============================================= */
.floating-wa-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Bubble pesan */
.floating-wa-bubble {
    background: #fff;
    color: #111;
    border-radius: 16px 16px 4px 16px;
    padding: 0.9rem 1.1rem 0.9rem 1.1rem;
    max-width: 280px;
    font-size: 0.85rem;
    line-height: 1.5;
    box-shadow: 0 6px 30px rgba(0,0,0,0.18);
    position: relative;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(.34,1.56,.64,1);
}

.floating-wa-bubble.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.floating-wa-bubble p {
    margin: 0;
    color: #222;
    font-size: 0.84rem;
}

.floating-wa-bubble-btn {
    display: block;
    margin-top: 8px;
    width: 100%;
    padding: 8px 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.floating-wa-bubble-btn:hover { background: #1ebe5d; }

.floating-wa-bubble-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #888;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 2px 5px;
    line-height: 1;
    transition: color 0.2s;
}
.floating-wa-bubble-close:hover { color: #333; }

/* Badge notif */
.floating-wa-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #E30613;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 2;
}

/* Override posisi floating-wa saat dalam wrap */
.floating-wa-wrap .floating-wa {
    position: relative;
    bottom: auto;
    right: auto;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}
/* Matikan pulse pada halaman produk detail (floating-wa standalone) */
body > .floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
}

@media (max-width: 768px) {
    .floating-wa-wrap {
        bottom: 20px;
        right: 16px;
    }
    .floating-wa-bubble {
        max-width: 240px;
        font-size: 0.8rem;
    }
}

/* =============================================
   CONTACT FORM MESSAGE
   ============================================= */
.form-message {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-top: 0.8rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.form-msg-success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
    display: flex !important;
}

.form-msg-error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
    display: flex !important;
}

.form-msg-info {
    background: rgba(23, 162, 184, 0.12);
    border: 1px solid rgba(23, 162, 184, 0.4);
    color: #17a2b8;
    display: flex !important;
}

/* =============================================
   ENCLOSURE CARD LINK FIX
   ============================================= */
a.btn-product-detail {
    display: block;
    text-decoration: none;
    text-align: center;
}

/* =============================================
   PROMO BANNER IMPROVEMENTS
   ============================================= */
.promo-banner strong { font-weight: 800; }

/* =============================================
   NAV ACTIVE STATE (halaman produk detail)
   ============================================= */
.nav-menu li a.active-page {
    color: var(--primary-gold);
}

/* =============================================
   FOOTER EXTRA ITEMS (belum ada di atas)
   ============================================= */
.footer .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-desc {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col p i,
.footer-col ul li i {
    color: var(--primary-gold);
    width: 16px;
    flex-shrink: 0;
}
