﻿/* =========================================================
   1. ROOT & GLOBAL RESET
========================================================= */
:root {
    /* Brandnest Dark Tech Theme */
    --bg-dark: #020617; 
    --card-bg: #0f172a; 
    --primary-blue: #2563eb; 
    --primary-hover: #1d4ed8;
    --accent-glow: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --radius-pill: 50px;
    --radius-card: 24px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* =========================================================
   2. GLOBAL BUTTONS & TYPOGRAPHY
========================================================= */
.btn-primary {
    background: var(--primary-blue);
    color: white; border: none; padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600; cursor: pointer; transition: 0.3s;
    text-align: center; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 0 15px rgba(37, 99, 235, 0.4); }
.btn-primary.w-100 { width: 100%; }
.btn-primary.large { padding: 15px 30px; font-size: 1rem; }

.btn-outline {
    background: transparent; color: white; 
    border: 1px solid var(--border-color);
    padding: 12px 24px; border-radius: var(--radius-pill);
    font-weight: 600; cursor: pointer; transition: 0.3s;
    text-align: center; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.btn-outline.large { padding: 15px 30px; font-size: 1rem; }
.btn-outline.w-100 { width: 100%; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); }

/* =========================================================
   3. NAVBAR (Top Navigation)
========================================================= */
.navbar-container {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 15px 20px; 
    z-index: 100;
}

.navbar-pill {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.nav-brand { display: flex; flex-direction: column; text-decoration: none; color: white; }
.logo-text { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.5px; }
.logo-sub { font-size: 0.65rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px;}
.highlight { color: var(--primary-blue); }

.nav-actions { display: flex; gap: 8px; align-items: center; }

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white; width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    transition: 0.3s;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.15); transform: scale(1.05); }

/* =========================================================
   4. SIDEBAR & ACCOUNT SHEET OVERLAYS
========================================================= */
.sidebar-overlay, .account-sheet-overlay, .modal-overlay, .search-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 150; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.sidebar-overlay.active, .account-sheet-overlay.active, .modal-overlay.active, .search-overlay.active { display: block; opacity: 1; }
.account-sheet-overlay.active, .search-overlay.active { display: flex; }

.sidebar {
    position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw; height: 100%; 
    background: var(--card-bg); z-index: 200; padding: 25px; 
    transition: 0.4s cubic-bezier(0.1, 1, 0.1, 1);
    border-left: 1px solid var(--border-color); box-shadow: -5px 0 25px rgba(0,0,0,0.5);
    overflow-y: auto;
}
.sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.close-btn { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; line-height: 1; }

.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-links li a {
    display: flex; align-items: center; padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px; color: #e2e8f0; text-decoration: none; font-weight: 500; font-size: 15px;
    transition: 0.3s;
}
.sidebar-links li a i { margin-right: 14px; font-size: 18px; color: var(--text-muted); width: 24px; text-align: center; transition: 0.3s; }
.sidebar-links li a:hover { background: rgba(0, 82, 204, 0.1); border-color: rgba(0, 82, 204, 0.3); color: white; transform: translateY(-2px); }
.sidebar-links li a:hover i { color: var(--accent-glow); }

.account-sheet-panel {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%; max-width: 420px; padding: 30px;
    border-radius: 30px; color: white; position: relative;
}

.auth-tabs { display: flex; gap: 10px; margin-bottom: 25px; }
.tab-btn {
    flex: 1; padding: 10px; border: none; background: rgba(255,255,255,0.05);
    color: #888; border-radius: 10px; cursor: pointer; transition: 0.3s;
}
.tab-btn.active { background: white; color: black; font-weight: 600; }

.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 13px; color: #ccc; }
.input-group input {
    width: 100%; padding: 14px; background: rgba(255,255,255,0.08);
    border: none; border-radius: 12px; color: white;
}
.btn-action {
    width: 100%; padding: 14px; border: none; border-radius: 12px;
    background: white; color: black; font-weight: 600; cursor: pointer; margin-top: 10px;
}
.google-btn { background: #ffffff10; color: white; margin-top: 10px; }

/* ================== SUB-MENU DROPDOWN ================== */
.sidebar-links .navigation-submenu {
    display: flex; flex-direction: column; gap: 4px; margin-top: 5px; padding: 10px;
    background: rgba(0, 0, 0, 0.15); border-radius: 12px; border: 1px solid rgba(255,255,255,0.02);
}
.sidebar-links .navigation-submenu a {
    padding: 10px 15px 10px 15px; background: transparent; border: none;
    font-size: 14px; border-radius: 8px; color: #cbd5e1;
}
.sidebar-links .navigation-submenu a::before {
    content: "•"; color: #0052cc; margin-right: 10px; font-weight: bold;
}
.sidebar-links .navigation-submenu a:hover {
    background: rgba(255, 255, 255, 0.05); transform: translateX(5px); box-shadow: none; color: white;
}

/* ========================================================
   5. SEARCH OVERLAY
======================================================== */
.search-overlay { align-items: flex-start; padding-top: 12vh; background: rgba(0, 0, 0, 0.75); }
.search-panel {
    width: 92%; max-width: 550px; height: auto; max-height: 75vh; display: flex; flex-direction: column; 
    background: rgba(15, 15, 15, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 25px; position: relative;
    transform: translateY(-20px); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.search-overlay.active .search-panel { transform: translateY(0); }
.search-header { margin-bottom: 15px; padding-right: 30px; }
.search-header h3 { color: white; font-size: 18px; }
.close-search-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #94a3b8; font-size: 24px; cursor: pointer; transition: 0.3s; }
.close-search-btn:hover { color: #ef4444; transform: scale(1.1); }
.search-input-group {
    display: flex; align-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 14px 18px; flex-shrink: 0;
}
.search-input-group.focus { border-color: var(--primary-blue); box-shadow: 0 0 15px rgba(37, 99, 235, 0.3); }
.search-input-group input { flex: 1; background: transparent; border: none; color: white; font-size: 16px; outline: none; width: 100%; margin-left: 15px;}
.search-results { margin-top: 15px; flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.search-empty-state { text-align: center; padding: 30px 10px; color: #64748b; }
.search-result-item {
    display: flex; align-items: center; padding: 12px 15px; background: rgba(255,255,255,0.03); border-radius: 10px;
    text-decoration: none; color: white; transition: 0.3s; border: 1px solid transparent;
}
.search-result-item:hover { background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.3); }

/* =========================================================
   6. HERO SECTION (Homepage) & FIX BANNER SLIDER
========================================================= */
.hero-section {
    position: relative; padding: 110px 24px 60px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 1), var(--bg-dark) 50%);
    background-color: var(--bg-dark); min-height: 100vh; display: flex; align-items: center;
}
.hero-section::before { content: ""; position: absolute; inset: 0; background: rgba(2, 6, 23, 0.65); z-index: 0; pointer-events: none; }
.hero-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column-reverse; gap: 40px; width: 100%; }
.hero-content { text-align: center; } 
.headline-badge {
    display: inline-block; background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.3); 
    color: var(--accent-glow); padding: 8px 18px; border-radius: var(--radius-pill);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px;
}
.main-title { font-size: 2rem; font-weight: 800; line-height: 1.25; margin-bottom: 20px; }
.main-title span { background: linear-gradient(90deg, #60a5fa, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 30px; line-height: 1.6; }
.hero-buttons { display: flex; flex-direction: column; gap: 15px; }

.hero-visual { width: 100%; display: flex; justify-content: center; }

/* FIX BANNER SLIDER: BACKGROUND TRANSPARENT AGAR MENYATU */
.hero-slider-container {
    width: 100%; 
    max-width: 400px; 
    aspect-ratio: 4 / 5; /* Kotak mutlak 4:5 */
    margin: 0 auto;
    border-radius: var(--radius-card);
    position: relative; 
    overflow: hidden; 
    background: transparent; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-wrapper { display: flex; width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }

.hero-slide { 
    min-width: 100%; height: 100%; 
    background-size: cover; /* Karena kotak 4:5 dan gambar 4:5, cover tidak akan pernah memotong gambar! */
    background-position: center; 
    background-repeat: no-repeat; 
    cursor: pointer; 
}


.hero-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: 0.3s; cursor: pointer; }
.hero-dot.active { background: var(--primary-blue); width: 20px; border-radius: 4px; }

/* =========================================================
   7. CATEGORY GRIDS & HIGHLIGHTS
========================================================= */
.content-container { padding: 80px 24px 60px; max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 30px; text-align: center; }
.pricing-tier-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
.pricing-card { 
    background: var(--card-bg); border: 1px solid var(--border-color); 
    border-radius: var(--radius-card); padding: 30px 25px; 
    position: relative; display: flex; flex-direction: column; 
    transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: var(--primary-blue); }
.pricing-header h3 { font-size: 1.6rem; color: white; margin-bottom: 20px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 25px 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; line-height: 1.4; }

.catalog-highlight-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border-color); }
.catalog-slider-wrapper { position: relative; width: 100%; overflow: hidden; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-card); }
.catalog-slider-track { display: grid; width: 100%; perspective: 1000px; }
.catalog-slide-card { grid-area: 1 / 1; width: 100%; display: flex; flex-direction: column; visibility: hidden; opacity: 0; background: var(--card-bg); border-radius: inherit; overflow: hidden; }
.catalog-slide-img { width: 100%; height: 280px; position: relative; overflow: hidden; }
.catalog-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.catalog-slide-content { padding: 30px 25px; display: flex; flex-direction: column; justify-content: center; }
.catalog-slide-content h3 { font-size: 1.6rem; color: white; margin-bottom: 12px; }

/* FIX TOMBOL KATALOG HIGHLIGHT */
.cat-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.cat-nav-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}
.cat-prev { left: 15px; }
.cat-next { right: 15px; }

/* =========================================================
   8. FLOATING WHATSAPP & FOOTER
========================================================= */
.floating-wa {
    position: fixed; bottom: 25px; right: 25px; background-color: #25D366; color: white;
    border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center;
    font-size: 32px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000; text-decoration: none;
}
.main-footer { border-top: 1px solid var(--border-color); padding: 50px 24px 30px; margin-top: 40px; background: rgba(0,0,0,0.2); }
.footer-content { display: flex; flex-direction: column; gap: 25px; text-align: center; max-width: 1200px; margin: 0 auto; }
.footer-logo { display: block; margin: 0 auto 15px auto; width: 100px; height: 100px; max-width: 180px; object-fit: contain; }
.footer-divider { border: 0; height: 1px; background: var(--border-color); margin: 30px auto; max-width: 1200px; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* =========================================================
   9. PRODUCT DETAIL PAGE (NEW SAAS LANDING PAGE STYLE)
========================================================= */
.prod-page-wrapper { max-width: 1200px; margin: 100px auto 60px; padding: 0 24px; }
.prod-top-header { text-align: center; margin-bottom: 50px; }
.prod-top-header h1 { font-size: 3rem; font-weight: 800; margin: 15px 0; color: white; line-height: 1.2;}
.prod-top-header p { font-size: 1.15rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.8;}
.prod-badge { display: inline-block; padding: 8px 24px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; letter-spacing: 1px; background: var(--theme-light); color: var(--theme-color); }

/* --- PERBAIKAN GRID & RESPONSIVITAS PRODUCT DETAIL --- */
.prod-main-split { 
    display: flex; 
    flex-wrap: wrap; /* Mengizinkan kolom turun jika layar sempit */
    gap: 40px; 
    margin-bottom: 60px; 
    align-items: flex-start;
}
.prod-mockup-col { 
    flex: 1 1 500px; /* Minimal lebar 500px, selebihnya membagi rata */
    width: 100%;
}
.prod-mockup-col img { 
    width: 100%; 
    height: auto; 
    max-height: 500px; /* Mencegah gambar potrait menjadi sangat panjang */
    object-fit: cover; /* Memastikan gambar rapi */
    object-position: top; /* Fokuskan gambar di bagian atas (berguna untuk screenshot fullpage) */
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    border: 1px solid var(--border-color); 
}
.prod-action-col { 
    flex: 1 1 350px; /* Minimal lebar 350px */
    width: 100%;
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}

.prod-price-text { font-size: 2.8rem; font-weight: 800; color: white; }
.prod-price-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 35px; box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.prod-action-buttons { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.prod-action-buttons .btn-primary { background: var(--theme-color); color: white; transition: 0.3s;}
.prod-action-buttons .btn-primary:hover { box-shadow: 0 0 25px var(--theme-light); transform: scale(1.02); }

.prod-top-features { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; }
.prod-top-features h3 { font-size: 1.3rem; margin-bottom: 20px; color: white; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.saas-feat-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.saas-feat-list li { display: flex; align-items: flex-start; gap: 12px; color: #e2e8f0; font-size: 1.05rem; line-height: 1.5; }

/* Cocok Untuk Siapa */
.prod-target-card {
    background: linear-gradient(135deg, var(--theme-light), rgba(15,23,42,1));
    border: 1px solid var(--border-color); border-radius: 20px; padding: 35px 40px;
    display: flex; align-items: center; gap: 30px; margin-bottom: 60px;
}
.target-icon {
    width: 80px; height: 80px; background: var(--theme-color); color: white;
    border-radius: 50%; display: grid; place-items: center; font-size: 2.5rem;
    flex-shrink: 0; box-shadow: 0 10px 25px var(--theme-light);
}
.target-content h3 { font-size: 1.5rem; margin-bottom: 15px; color: white; }
.target-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.target-item { display: flex; align-items: center; gap: 10px; color: #cbd5e1; font-size: 1.05rem; }
.target-item i { color: var(--theme-color); font-size: 1.2rem;}

/* Grid Fitur & Galeri Admin */
.prod-details-split { 
    display: flex; 
    flex-wrap: wrap; /* Mengizinkan kolom turun jika layar sempit */
    gap: 40px; 
    margin-bottom: 60px; 
}
.prod-features-col { 
    flex: 1 1 500px; /* Lebar minimal 500px, mencegah gepeng di laptop */
    width: 100%;
}
.prod-admin-col { 
    flex: 1 1 350px; 
    width: 100%;
}
.section-title { font-size: 1.6rem; color: white; margin-bottom: 25px; display: flex; align-items: center; gap: 12px; }

/* Menggunakan auto-fit agar bisa jadi 1 kolom otomatis jika terlalu sempit */
.prod-features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
}
.feat-box {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-color);
    padding: 20px; border-radius: 16px; display: flex; gap: 15px; transition: 0.3s;
    word-wrap: break-word; overflow: hidden; /* Mencegah teks terlalu panjang meluap */
}
.feat-box:hover { background: rgba(255,255,255,0.05); transform: translateY(-5px); border-color: var(--theme-color); }
.feat-box-icon {
    width: 50px; height: 50px; border-radius: 12px; background: var(--theme-light); color: var(--theme-color);
    display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0;
}
.feat-box-content h4 { color: white; font-size: 1.1rem; margin-bottom: 5px; }
.feat-box-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* Admin Gallery */
.prod-gallery-main { width: 100%; overflow: hidden; }
.prod-gallery-main img { width: 100%; height: auto; max-height: 350px; object-fit: contain; border-radius: 16px; border: 1px solid var(--border-color); margin-bottom: 15px; }
.prod-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none;}
.prod-gallery-thumbs::-webkit-scrollbar { display: none; }
.prod-gallery-thumbs img {
    width: 80px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer;
    border: 2px solid transparent; transition: 0.3s; opacity: 0.6;
}
.prod-gallery-thumbs img:hover, .prod-gallery-thumbs img.active { border-color: var(--theme-color); opacity: 1; }

.prod-terms-section { border-top: 1px solid var(--border-color); padding-top: 40px; }
.prod-terms-section h3 { font-size: 1.4rem; color: white; margin-bottom: 15px; }
.prod-terms-section p { color: var(--text-muted); line-height: 1.8; }

/* =========================================================
   11. ALL PRODUCTS PAGE COMPONENTS (SAAS CARD)
========================================================= */
.category-nav-wrapper {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none;
}
.category-nav-wrapper::-webkit-scrollbar { display: none; }
.cat-nav-pill {
    white-space: nowrap; padding: 12px 24px; border-radius: 50px; 
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: 0.3s;
}
.cat-nav-pill:hover { background: rgba(255, 255, 255, 0.1); color: white; }
.cat-nav-pill.active { 
    background: var(--primary-blue); color: white; 
    border-color: var(--primary-blue); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); 
}

.page-btn {
    width: 45px; height: 45px; border-radius: 50%; 
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: white; font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.3s; 
    display: grid; place-items: center;
}
.page-btn:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px);}
.page-btn.active { 
    background: var(--primary-blue); border-color: var(--primary-blue); 
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4); 
}

/* KARTU PRODUK UTAMA (DESKTOP) */
#productsGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 25px; }

.saas-pricing-card {
    background: var(--card-bg); border-radius: 24px; border: 1px solid var(--border-color);
    padding: 30px 20px; display: flex; flex-direction: column; position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); overflow: hidden;
}
.saas-pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: var(--theme-color); }
.theme-basic { --theme-color: #2563eb; --theme-light: rgba(37, 99, 235, 0.15); }
.theme-pro { --theme-color: #0ea5e9; --theme-light: rgba(14, 165, 233, 0.15); }
.theme-business { --theme-color: #f97316; --theme-light: rgba(249, 115, 22, 0.15); }
.theme-enterprise { --theme-color: #8b5cf6; --theme-light: rgba(139, 92, 246, 0.15); }

.saas-badge { position: absolute; top: 0; right: 0; background: var(--theme-light); color: var(--theme-color); padding: 6px 15px; border-radius: 0 24px 0 20px; font-weight: 700; font-size: 0.75rem; letter-spacing: 1px; z-index: 10; }
.saas-header { margin-bottom: 20px; }
.saas-header h3 { font-size: 1.4rem; color: white; margin-bottom: 8px; margin-top: 10px; }
.saas-desc { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; }
.saas-mockup-wrapper { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.05); background: #000; }
.saas-mockup-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.3s; }
.saas-pricing-card:hover .saas-mockup-wrapper img { transform: scale(1.05); opacity: 1; }

.saas-features-wrapper { flex-grow: 1; } /* Mendorong footer ke bawah */
.saas-features { list-style: none; padding: 0; margin-bottom: 25px; display: flex; flex-direction: column; gap: 10px; }
.saas-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #e2e8f0; }
.saas-features li i.check-icon { color: var(--theme-color); font-size: 1.1rem; margin-top: 2px; }
.saas-features li i.cross-icon { color: #ef4444; font-size: 1.1rem; margin-top: 2px; }

.saas-footer { border-top: 1px solid var(--border-color); padding-top: 20px; text-align: center; }
.saas-price { font-size: 1.6rem; font-weight: 800; color: white; margin-bottom: 12px; }
.saas-btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; padding: 12px; background: var(--theme-color); color: white; text-decoration: none; border-radius: 50px; font-weight: 600; transition: 0.3s; }
.saas-btn:hover { background: white; color: var(--theme-color); box-shadow: 0 0 20px var(--theme-light); }

.instagram-section-wrapper {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 24px;
}

.instagram-card {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 25px 50px rgba(220, 39, 67, 0.25);
}

.ig-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.ig-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.ig-header p {
    font-size: 1.1rem;
    font-weight: 500;
}

.ig-header a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 700;
    transition: 0.3s;
}

.ig-header a:hover {
    opacity: 0.8;
}

/* THE MAGIC GRID (1 Besar, 4 Kecil) */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.ig-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    background: #fff;
    aspect-ratio: 1/1; /* Memaksa bentuk bujur sangkar */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Gambar pertama akan dibuat besar! */
.ig-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    aspect-ratio: 1/1;
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-item:hover img {
    transform: scale(1.1);
}

.ig-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-item:hover .ig-item-overlay {
    opacity: 1;
}

/* =========================================================
   12. MEDIA QUERIES (TABLET & DESKTOP)
========================================================= */
@media (min-width: 768px) {
    .hero-content { text-align: left; }
    .hero-buttons { flex-direction: row; }
    .footer-logo { margin: auto; max-width: 240px; }
    .cat-nav-btn { width: 50px; height: 50px; font-size: 1.4rem;}
    .cat-prev { left: 20px; }
    .cat-next { right: 20px; }
}

@media (min-width: 1024px) {
   .hero-container { flex-direction: row; justify-content: space-between; align-items: center; }
    .hero-content { flex: 1.2; padding-right: 40px; }
    .main-title { font-size: 2.8rem; }
    .hero-visual { flex: 1; justify-content: flex-end; }
   
        .hero-slider-container { 
        width: 100%;
        max-width: 420px; /* Ukuran yang elegan dan tidak memakan layar */
        aspect-ratio: 4 / 5; /* Tetap pertahankan rasio 4:5 */
        margin: 0 0 0 auto; /* Ratakan ke sisi kanan layar */
    }
    
    .pricing-tier-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
    .pricing-card { padding: 40px 30px; }

    .catalog-slide-card { flex-direction: row; height: 450px; }
    .catalog-slide-img { width: 55%; height: 100%; }
    .catalog-slide-content { width: 45%; padding: 50px; }
    
    .footer-content { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
    .social-icons { justify-content: flex-end; }

    .instagram-section-wrapper { padding: 0 15px; margin: 50px auto; }
    .instagram-card { padding: 40px 20px; border-radius: 30px; }
    .ig-header h2 { font-size: 1.8rem; }
    .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ig-item { border-radius: 15px; }
    
   
    .ig-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
}

@media (max-width: 991px) {
    /* TABLET FIXES */
    #productsGrid { grid-template-columns: repeat(2, 1fr); }
    
    .prod-top-header h1 { font-size: 2rem; margin-bottom: 5px; }
    .prod-top-header p { font-size: 0.95rem; }
    
    /* Memaksa layout turun pada tablet */
    .prod-mockup-col, .prod-action-col, .prod-features-col, .prod-admin-col {
        flex: 1 1 100%; 
    }
    .prod-mockup-col { order: -1; } 
    
    .prod-price-card { padding: 25px 20px; }
    .prod-price-text { font-size: 2rem !important; }
    
    .prod-action-buttons { flex-direction: row !important; gap: 10px; margin-top: 15px; } 
    .prod-action-buttons button { padding: 12px 8px; font-size: 0.85rem; flex: 1;}
    .prod-top-features { display: none !important; }
    
    .prod-target-card { padding: 25px 20px; flex-direction: column; text-align: center; gap: 15px;}
    .target-icon { width: 60px; height: 60px; font-size: 1.8rem; }
    .target-content h3 { font-size: 1.2rem; }
    .target-grid { grid-template-columns: repeat(2, 1fr); text-align: left; gap: 10px; }
    
    .section-title { font-size: 1.4rem; margin-bottom: 15px; }
}


@media (max-width: 768px) {
     #navbarAccountBtn {
        display: none !important;
    }
    .pricing-tier-grid { grid-template-columns: 1fr; gap: 30px; } 
    .content-container { padding-top: 80px; padding-left: 20px; padding-right: 20px; }
    .section-header h2 { font-size: 2rem; }
    .prod-mockup-col img { max-height: 350px; }
    .prod-features-grid { grid-template-columns: 1fr; gap: 12px; }

    .category-nav-wrapper { 
        margin-bottom: 25px !important; 
        padding-bottom: 10px; 
        gap: 8px; 
        width: calc(100% + 40px); 
        margin-left: -20px; 
        padding-left: 20px; 
        padding-right: 20px; 
        -webkit-overflow-scrolling: touch;
      
    }
    .cat-nav-pill { padding: 8px 16px; font-size: 0.85rem; border-radius: 30px; flex-shrink: 0; }
    #productsGrid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin-bottom: 25px; 
    }
    
    .saas-pricing-card { 
        padding: 20px; 
        border-radius: 20px; 
    }
    
    /* 2. Gambar Dibuat Besar (Tinggi 200px) */
    .saas-mockup-wrapper { 
        height: 200px; 
        margin-bottom: 15px; 
    }
    
    /* 3. Sembunyikan Fitur Checklist di HP Sesuai Request */
    .saas-features-wrapper { 
        display: none !important; 
    }
    
    .saas-header h3 { font-size: 1.3rem; margin-top: 5px; }
    .saas-desc { font-size: 0.9rem; margin-bottom: 15px; }
    
    /* 4. Footer Bersebelahan (Harga Kiri, Tombol Kanan) */
    .saas-footer { 
        padding-top: 15px; 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        border-top: 1px dashed rgba(255,255,255,0.1);
    }
    .saas-price { 
        font-size: 1.3rem; 
        margin-bottom: 0; 
    }
    .saas-btn { 
        width: auto; 
        padding: 10px 20px; 
        font-size: 0.9rem; 
    }
    /* ------------------------------------------------ */

    #pagination { margin-top: 30px !important; gap: 6px !important; }
    .page-btn { width: 38px; height: 38px; font-size: 0.9rem; }
}