html {
    scroll-behavior: smooth;
}
/* ============================================================
   1. RESET & BASE STYLES
   ============================================================ */
   :root {
    --primary-color: #0052cc;    /* Biru Profesional */
    --secondary-color: #00b8d9;  /* Biru Muda Aksentuasi */
    --dark-text: #172b4d;       /* Warna Teks Utama */
    --light-bg: #f4f5f7;        /* Latar Belakang Lembut */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ============================================================
   2. NAVBAR (MODERN & STICKY)
   ============================================================ */
.navbar-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px; /* Jarak antara logo dan teks HaloMitra */
}

.logo-img {
    height: 80px; /* Kunci tingginya agar profesional dengan teks */
    width: auto;
    border-radius: 20px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-login-admin {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 20px;
}

.btn-konsultasi {
    text-decoration: none;
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
    transition: var(--transition);
}

.btn-konsultasi:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

/* ============================================================
   3. HERO SECTION (HIGH CONVERSION)
   ============================================================ */
.hero-section {
    padding: 160px 5% 100px;
    background: radial-gradient(circle at top right, #eef2ff, #ffffff);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.badge-promo {
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 25px 0;
    letter-spacing: -2px;
}

.highlight-teks {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6b778c;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary-large {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-large {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.trust-indicators {
    margin-top: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8993a4;
}

/* ============================================================
   4. FEATURES GRID
   ============================================================ */
.core-features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #ebecf0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* ============================================================
   5. FOOTER & CTA
   ============================================================ */
.footer-premium {
    background: var(--dark-text);
    color: white;
    padding: 80px 5% 40px;
    text-align: center;
}

.cta-box {
    background: var(--primary-color);
    padding: 60px;
    border-radius: 30px;
    margin-bottom: 60px;
}

.btn-wa-direct {
    background: #25d366;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 30px;
    cursor: pointer;
}

/* ============================================================
   6. RESPONSIVE (FOR MOBILE PHONES)
   ============================================================ */
/* ============================================================
   PERBAIKAN MOBILE & RESPONSIVE - ANTI ERROR
   ============================================================ */
    /* ============================================================
   MOBILE PREMIUM NAVIGATION (GLASSMORPHISM)
   ============================================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Harus di atas menu yang meluncur */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.4s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    /* Sembunyikan tombol login/konsultasi di header saat mobile */
    .nav-actions { 
        display: none; 
    }

    /* Sidebar Menu Meluncur dari Kanan */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Disembunyikan di luar layar */
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.85); /* Transparan */
        backdrop-filter: blur(20px); /* Efek kaca buram (Glassmorphism) */
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Animasi memantul elegan */
        z-index: 1000;
    }

    /* Saat menu aktif (terbuka) */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease-in-out;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Delay animasi muncul tiap menu agar mewah */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        font-size: 1.3rem;
        font-weight: 700;
    }

    /* Animasi Hamburger berubah menjadi tanda Silang (X) */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
}
    /* Menu Navigasi tetap muncul dengan ukuran menyesuaikan */
    .nav-links {
        display: flex; 
        gap: 12px;
        font-size: 0.75rem;
    }
    
    .nav-container {
        padding: 10px 3%;
    }

    /* Memastikan Mockup HP di halaman Demo tidak terpotong */
    .mockup-hp {
        width: 100%;
        min-width: unset;
        margin: 20px 0;
        padding: 15px;
    }

    /* Hero Section di Teknologi agar teks tidak bertumpuk */
    .tech-hero h1 {
        font-size: 1.8rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr; /* Harga menumpuk vertikal di HP */
    }
}

/* Badge VIP Melayang (Efek Psikologis Mewah) */
.vip-badge-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    color: #000;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    z-index: 9999;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
}

/* ============================================================
   7. STYLING HALAMAN TEKNOLOGI
   ============================================================ */
   .tech-hero {
    padding: 120px 5% 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}
.tech-hero h1 { font-size: 2.8rem; margin-bottom: 10px; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.tech-card {
    background: #f8f9fa; padding: 30px;
    border-radius: 15px; border-left: 5px solid var(--primary-color);
}
.code-preview-section { max-width: 800px; margin: 0 auto; }
.code-box {
    background: #1e1e1e; color: #d4d4d4; padding: 30px;
    border-radius: 12px; font-family: monospace;
    overflow-x: auto; margin-top: 20px;
}

/* ============================================================
   8. STYLING HALAMAN DEMO (MOCKUP HP)
   ============================================================ */
.bg-demo { background-color: #f0f2f5; }
.demo-container {
    padding: 120px 5% 60px; max-width: 800px;
    margin: 0 auto; text-align: center;
}
.mockup-hp {
    width: 100%; max-width: 380px; margin: 30px auto 0;
    background: white; border-radius: 30px;
    border: 8px solid #2c3e50; min-height: 600px;
    position: relative; text-align: left; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.katalog-mini { padding: 20px; padding-bottom: 90px; }
.kartu-produk-mini {
    border: 1px solid #eee; padding: 15px; border-radius: 12px;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px;
}
.harga-mini { color: #e67e22; font-weight: bold; }
.btn-tambah-demo {
    background: #e8f0fe; color: var(--primary-color);
    border: none; padding: 8px 15px; border-radius: 8px; cursor: pointer;
}
.keranjang-demo {
    position: absolute; bottom: 0; width: 100%;
    background: white; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
#btn-demo-wa {
    background: #25d366; color: white; border: none;
    padding: 10px 20px; border-radius: 20px; font-weight: bold; cursor: pointer;
}
/* Tech Page Luxury Styles */
.tech-header-premium {
    text-align: center; margin-bottom: 60px;
}
.badge-tech {
    background: var(--primary-color); color: white;
    padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold;
}
.tech-grid-luxury {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-bottom: 80px;
}
.tech-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px; border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.tech-card-glass:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}
.tech-icon-circle {
    font-size: 2rem; margin-bottom: 20px;
}
.tech-list-small {
    margin-top: 15px; padding-left: 20px; font-size: 0.9rem; color: #666;
}
/* Tech Page Luxury Styles */
.tech-header-premium {
    text-align: center; margin-bottom: 60px;
}
.badge-tech {
    background: var(--primary-color); color: white;
    padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold;
}
.tech-grid-luxury {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-bottom: 80px;
}
.tech-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px; border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.tech-card-glass:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}
.tech-icon-circle {
    font-size: 2rem; margin-bottom: 20px;
}
.tech-list-small {
    margin-top: 15px; padding-left: 20px; font-size: 0.9rem; color: #666;
}
/* ============================================================
   HALOMITRA HYPER-LUXURY PRICING V4 - ADD THIS AT THE BOTTOM
   ============================================================ */
   .pricing-luxury-v4 { padding: 100px 5%; background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%); margin-top: 80px;}

   .pricing-container {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
       gap: 30px;
       margin-top: 50px;
   }
   
   .pricing-card {
       background: white;
       padding: 40px 30px;
       border-radius: 24px;
       border: 1px solid #e2e8f0;
       text-align: center;
       transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
       display: flex;
       flex-direction: column;
       position: relative;
   }
   
   .pricing-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px -12px rgba(0, 82, 204, 0.1); border-color: #0052cc; }
   
   /* Paket Featured (Bisnis Pro) */
   .pricing-card.featured {
       border: 2px solid #0052cc;
       background: linear-gradient(145deg, #ffffff, #f0f7ff);
       z-index: 2;
       transform: scale(1.03);
   }
   
   .pricing-card.featured:hover { transform: scale(1.03) translateY(-12px); }
   
   /* Paket Sultan (Dark Theme) */
   .pricing-card.sultan { border: 2px solid #172b4d; background: #fafbfc; }
   
   /* Box Harga */
   .price-box { margin: 25px 0; border-bottom: 1px solid #edf2f7; padding-bottom: 20px; }
   .maint-price { font-size: 2.2rem; font-weight: 800; color: #0052cc; display: block; }
   .maint-price span { font-size: 0.9rem; color: #64748b; font-weight: 400; }
   .setup-price { font-size: 0.85rem; color: #475569; display: block; margin-top: 5px; }
   .setup-price strong { color: #1e293b; font-weight: 700; }
   
   /* List Fitur */
   .features-list { list-style: none; text-align: left; margin-bottom: 30px; flex-grow: 1; padding-left: 0;}
   .features-list li { margin-bottom: 14px; font-size: 0.88rem; color: #475569; display: flex; align-items: center; gap: 10px; }
   
   /* Animasi Tombol Glow */
   .btn-glow {
       background: #0052cc !important; color: white !important;
       box-shadow: 0 0 20px rgba(0, 82, 204, 0.4);
       animation: pulseGlow 2s infinite;                             
   }                                                                 
   
   @keyframes pulseGlow {
       0% { box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.7); }
       70% { box-shadow: 0 0 0 15px rgba(0, 82, 204, 0); }
       100% { box-shadow: 0 0 0 0 rgba(0, 82, 204, 0); }
   }
   
   /* SOP SECTION STYLING */
   .sop-container { margin-top: 100px; background: #172b4d; color: white; padding: 50px 40px; border-radius: 30px; text-align: center;}
   .sop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 40px; }
   .sop-item strong { display: block; font-size: 1.2rem; margin-bottom: 10px; color: #00b8d9; }
   .sop-item p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }