/* GLOBAL CONFIGURATION */
body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Membuat tampilan selalu di tengah di Desktop */
}

/* DESKTOP WRAPPER (MEMBATASI LEBAR SUPAYA SEPERTI HP DI DESKTOP) */
.phone-wrapper {
    width: 100%;
    max-width: 480px; /* Lebar standar layar smartphone premium */
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero-section {
    background-image: url('home.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 15px;
}
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(204, 0, 0, 0.85) 0%, rgba(139, 0, 0, 0.95) 100%);
}

/* ANIMATED PULSE UNTUK TOMBOL UTAMA */
.animated-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* STICKY WHATSAPP BUTTON (Mencocokkan batasan container HP) */
.whatsapp-sticky {
    position: fixed;
    bottom: 80px; /* Di atas bottom nav */
    right: calc(50% - 220px); /* Presisi di kanan dalam mockup phone-wrapper */
    width: 55px;
    height: 55px;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-sticky:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: white;
}

/* Responsif tombol WA jika layar asli memang HP */
@media (max-width: 480px) {
    .whatsapp-sticky {
        right: 20px;
    }
}

/* FIXED BOTTOM NAVIGATION */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px; /* Lebar mengikuti batas hp */
    height: 60px;
    z-index: 1000;
}
.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #757575;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.bottom-nav .nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
}
.bottom-nav .nav-item.active, .bottom-nav .nav-item:hover {
    color: #dc3545; /* Merah Indonesia */
}

/* FAKE ORDER NOTIFICATION */
.fake-notification {
    position: fixed;
    bottom: 150px;
    left: calc(50% - 225px); /* Menyesuaikan posisi kiri di dalam area HP desktop */
    width: 260px;
    background: white;
    z-index: 998;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.fake-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fake-notification .icon-box {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

/* Responsif Fake Order jika layar asli memang HP */
@media (max-width: 480px) {
    .fake-notification {
        left: 15px;
    }
}

/* SHADOW EXTRA */
.shadow-xs {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

/* ==========================================================================
   1. RESET & UTALITAS DASAR (GLOBAL STYLES)
   ========================================================================== */
:root {
    --primary-color: #dc3545; /* Merah Bold */
    --primary-gradient: linear-gradient(135deg, #dc3545, #b02a37);
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #1a1a1a; /* Background luar abu-abu gelap agar kontras */
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* Mengunci Tampilan Desktop Menjadi Seukuran Layar HP (Mobile First Wrapper) */
.phone-wrapper {
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Gradient Background Custom */
.bg-gradient-danger {
    background: var(--primary-gradient) !important;
}

/* Tipografi Ukuran Custom (Utility Classes) */
.font-10 { font-size: 10px; }
.font-11 { font-size: 11px; }
.font-12 { font-size: 12px; }
.font-14 { font-size: 14px; }
.x-small { font-size: 0.75rem; }
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.opacity-90 { opacity: 0.9; }

/* ==========================================================================
   2. CSS KHUSUS HALAMAN ARTIKEL & BLOG (NEW ADDITIONS)
   ========================================================================== */
/* Judul Artikel */
h1.fs-4 {
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* Paragraf Artikel */
.article-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 20px;
    text-align: justify;
}

/* Penekanan Kata Kunci SEO di Dalam Artikel */
.article-content strong {
    color: var(--dark-color);
    font-weight: 600;
    background-color: rgba(220, 53, 69, 0.05);
    padding: 2px 4px;
    border-radius: 4px;
}

/* Sub-heading di Dalam Artikel (H2/H3) */
.article-content h2 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Elemen List/Daftar di Dalam Artikel */
.article-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 14px;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 8px;
}

/* Blok Link Terkait (Internal Linking Section) */
.list-group-item-action {
    transition: all 0.2s ease-in-out;
}

.list-group-item-action:hover {
    background-color: rgba(220, 53, 69, 0.03);
    color: var(--primary-color) !important;
    padding-left: 20px !important; /* Efek bergeser sedikit saat disentuh/dihover */
}

/* ==========================================================================
   3. KOMPONEN INTERAKTIF & KONVERSI (CTA)
   ========================================================================== */
/* Animasi Denyut pada Tombol CTA Utama */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.animated-pulse {
    animation: pulse 2s infinite;
}

/* Tombol WA Melayang (Sticky WhatsApp) */
.whatsapp-sticky {
    position: fixed;
    bottom: 80px; /* Di atas navigasi bawah */
    right: calc(50% - 220px); /* Menyesuaikan posisi selalu di kanan wrapper HP */
    width: 55px;
    height: 55px;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 1040;
    transition: transform 0.3s ease;
}

@media (max-width: 480px) {
    .whatsapp-sticky {
        right: 20px; /* Jika dibuka di HP asli, nempel di kanan layar */
    }
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Navigation Bawah Modern (Fixed Bottom Nav) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 60px;
    z-index: 1050;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    width: 25%;
    height: 100%;
    transition: color 0.2s ease;
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}