/* === MUKMIN RICH SOLUTION  === */
:root { --color-primary: #2563eb; --color-primary-dark: #1d4ed8; --color-secondary: #f59e0b; --color-secondary-dark: #d97706; --color-text-dark: #1e293b; --color-text-light: #475569; --color-background-light: #f8fafc; --color-background-white: #ffffff; --color-border: #e2e8f0; }
body { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; margin: 0; color: var(--color-text-light); background-color: var(--color-background-white); line-height: 1.6; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.header { background-color: var(--color-background-white); padding: 16px 0; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo img { height: 40px; }
.navbar .cta-header { background-color: var(--color-secondary); color: var(--color-background-white); padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: background-color 0.2s ease-in-out; }
.navbar .cta-header:hover { background-color: var(--color-secondary-dark); }
.section { padding: 80px 0; }
.section-light { background-color: var(--color-background-white); }
.section-dark { background-color: var(--color-background-light); }
.hero-section { padding: 80px 0; }
.hero-content { display: flex; align-items: center; gap: 48px; }
.hero-text { flex: 1; }
.hero-image { flex: 1; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hero-badge { display: inline-block; padding: 6px 12px; background-color: #e0e7ff; color: #3730a3; border-radius: 999px; font-weight: 700; font-size: 14px; margin-bottom: 16px; letter-spacing: 0.5px; }
.hero-text h1 { font-size: 52px; font-weight: 800; line-height: 1.2; margin: 0 0 16px 0; color: var(--color-text-dark); }
.hero-text p.subtitle { font-size: 18px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; margin-bottom: 16px; }
.hero-buttons .cta { padding: 14px 28px; border-radius: 8px; font-size: 16px; }
.cta { text-decoration: none; font-weight: bold; color: white; cursor: pointer; border: none; transition: background-color 0.2s ease-in-out; }
.cta-primary { background-color: var(--color-secondary); }
.cta-primary:hover { background-color: var(--color-secondary-dark); }
.cta-secondary { background-color: var(--color-primary); }
.cta-secondary:hover { background-color: var(--color-primary-dark); }
.hero-text .disclaimer {
    font-size: 14px;
    font-style: italic;
}
.section-title { text-align: center; margin-bottom: 48px; font-size: 36px; font-weight: 700; color: var(--color-text-dark); }
.card { background: var(--color-background-white); border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.grid { display: grid; gap: 24px; }
.packages { grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); }
.package-highlight { border: 2px solid var(--color-primary); transform: scale(1.05); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.packages .badge { font-size: 14px; }
.packages .price { font-size: 32px; font-weight: 800; color: var(--color-primary); margin: 12px 0; }
.packages ul { list-style: none; padding: 0; }
.packages ul li { margin-bottom: 8px; }
#checkout { border: none; padding: 0; }
#checkout form label { display: block; margin-bottom: 16px; font-weight: 600; }
#checkout form input, #checkout form textarea, #checkout form select { width: 100%; padding: 12px; border: 1px solid var(--color-border); border-radius: 8px; margin-top: 6px; box-sizing: border-box; }
#checkout form button.cta { width: 100%; font-size: 20px; padding: 18px; border-radius: 8px; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,.5); display:none; align-items:center; justify-content:center; z-index:50; }
.modal.show { display:flex; }
.modal-inner { background:#fff; border-radius:16px; max-width:520px; width:100%; padding:24px; }
#chatbot-bubble { position:fixed; right:24px; bottom:24px; background:var(--color-primary); color:#fff; border-radius:999px; padding:12px 16px; font-weight:800; cursor:pointer; z-index:60; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
/* === PEMBAIKAN UNTUK BUTANG KELABU === */

/* Memberi warna latar biru lalai kepada semua butang .cta */
.cta {
    background-color: var(--color-primary); /* Warna biru */
}
.cta:hover {
    background-color: var(--color-primary-dark);
}

/* Menggantikan warna butang utama kepada jingga/kuning */
.cta.cta-primary {
    background-color: var(--color-secondary);
}
.cta.cta-primary:hover {
    background-color: var(--color-secondary-dark);
}

/* Memastikan butang sekunder kekal biru */
.cta.cta-secondary {
    background-color: var(--color-primary);
}
.cta.cta-secondary:hover {
    background-color: var(--color-primary-dark);
}

/* Memberi gaya kepada butang biasa yang tiada kelas (seperti "Tidak Perlu") */
button, input[type="button"], input[type="submit"] {
    cursor: pointer;
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--color-text-light);
    transition: background-color 0.2s ease-in-out;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #f3f4f6;
}

/* Mengatasi gaya butang biasa untuk butang CTA */
button.cta {
    color: white; /* Pastikan teks butang CTA kekal putih */
    border: none;
}
/* === PEMBAIKAN UNTUK POSISI CHATBOT PANEL === */

#chatbot-panel {
    position: fixed;
    bottom: 85px; /* Kedudukan dari bawah, di atas butang bubble */
    right: 24px;  /* Kedudukan dari kanan, sama dengan butang bubble */
    width: 350px;
    max-width: 90vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 60;
    display: none; /* Disembunyikan secara lalai */
    flex-direction: column;
    height: 450px;
    padding: 16px;
    box-sizing: border-box;
}

#chatlog {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.chat-row {
    display: flex;
    margin-bottom: 12px;
}

.chat-row.user {
    justify-content: flex-end;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 20px;
    max-width: 75%;
}

.chat-row.bot .chat-bubble {
    background-color: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.chat-row.user .chat-bubble {
    background-color: var(--color-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

#chatbot-panel #chatsend {
    padding: 8px 14px;
}
/* === GAYA UNTUK KALKULATOR KEUNTUNGAN === */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .calculator-wrapper { grid-template-columns: 1fr 1fr; }
}
.calculator-inputs .form-grid {
    grid-template-columns: 1fr 1fr;
}
.calculator-inputs label {
    font-size: 14px;
    font-weight: 500;
}
.calculator-inputs input {
    width: 100%; padding: 10px; border: 1px solid var(--color-border);
    border-radius: 8px; margin-top: 6px; box-sizing: border-box; font-size: 16px;
}
.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.result-box, .result-box-highlight {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}
.result-box {
    background-color: var(--color-background-light);
}
.result-box-highlight {
    background-color: #e0f2fe; /* Light blue */
    border: 2px dashed #38bdf8; /* Blue dashed */
}
.result-box span, .result-box-highlight span {
    display: block;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}
.result-box strong, .result-box-highlight strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-dark);
}
/* === GAYA BARU UNTUK BAHAGIAN PAKEJ === */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .packages-grid { grid-template-columns: 1fr 1fr; }
}
.package-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid var(--color-primary);
}
.package-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}
.package-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #e11d48; /* Merah */
    margin-top: 0;
}
.package-card .price {
    margin-bottom: 24px;
}
.features-list {
    list-style: none; /* Buang bullet point asal */
    padding: 0;
    margin-bottom: 24px;
    text-align: left;
    flex-grow: 1;
}
.features-list li {
    padding-left: 28px; /* Beri ruang untuk tanda rait */
    position: relative; /* Diperlukan untuk kedudukan tanda rait */
    margin-bottom: 12px;
}
.features-list li::before {
    content: '✓'; /* Guna simbol sebenar */
    color: var(--color-primary); /* Warna biru */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
.package-card .cta {
    display: block;
    width: fit-content; /* Saiz butang ikut teks di dalam */
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    padding: 14px 28px; /* Tambah padding kiri dan kanan */
    font-size: 16px;
    text-align: center;
}
.package-card .badge {
    background-color: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 999px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}
/* Gaya untuk pakej Paling Laris (kuning) */
.package-highlight {
    border-color: #f59e0b; /* Kuning */
    transform: scale(1.03);
}
.package-highlight .badge {
    background-color: #f59e0b;
}
.package-highlight .cta {
    background-color: #f59e0b;
}
.package-highlight .cta:hover {
    background-color: #d97706;
}
/* === GAYA UNTUK SUBTITLE BAHAGIAN === */
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -24px auto 48px auto; /* Margin atas negatif untuk rapatkan dengan tajuk */
    color: var(--color-text-dark); /* <-- Tukar warna supaya sama */
    font-size: 36px;               /* <-- Tukar saiz fon */
    font-weight: 700;              /* <-- TAMBAH ini untuk bold */
    line-height: 1.2;              /* <-- Selaraskan jarak baris */
}
/* === GAYA UNTUK BAHAGIAN CIRI-CIRI === */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
}
@media (min-width: 768px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
.feature-item {
    text-align: center;
}
.feature-icon {
    height: 64px;
    margin-bottom: 16px;
}
.feature-headline {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}
.feature-text {
    color: var(--color-text-light);
    line-height: 1.6;
}
/* === GAYA BARU UNTUK TESTIMONI === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--color-border);
}
.testimonial-text {
    font-style: italic;
    color: var(--color-text-light);
    flex-grow: 1; /* Memastikan semua kad sama tinggi */
}
.testimonial-name {
    margin-top: 16px;
    font-weight: bold;
    color: var(--color-text-dark);
}
/* === GAYA BARU UNTUK JAMINAN & LOGO (GABUNG) === */
.final-trust-section { 
    padding-top: 0; 
}
.trust-wrapper-merged {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--color-border);
    background-color: var(--color-background-white);
    padding: 20px 24px;
    border-radius: 16px;
}
.guarantee-logo {
    max-height: 200px;
}
.guarantee-text {
    text-align: left;
    flex-basis: 300px; /* Tetapkan lebar asas */
    flex-grow: 1;     /* Benarkan ia membesar jika ada ruang */
    max-width: 400px; /* Hadkan lebar maksimum */
}
.guarantee-text strong {
    font-weight: bold;
    display: block;
    color: var(--color-text-dark);
}
.guarantee-text span {
    font-size: 13px;
    color: var(--color-text-light);
}
.trust-divider {
    width: 1px;
    height: 50px;
    background-color: var(--color-border);
    margin: 0 8px;
}
.trust-logo {
    max-height: 100px;
    opacity: 0.7;
}
/* Sembunyikan pemisah pada skrin kecil */
@media (max-width: 768px) {
    .trust-divider { display: none; }
}
/* === PEMBAIKAN WARNA LATAR BERSERLI === */

/* Secara lalai, jadikan kad lutsinar apabila di atas latar kelabu */
.section-dark .card {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* KECUALI: Pastikan kad di borang pesanan dan jaminan kekal berwarna putih/terang */
#checkout.section-dark .card,
.final-trust-section.section-dark .trust-wrapper-merged {
    background: var(--color-background-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* KECUALI: Pastikan kad pakej juga kekal berwarna putih */
.packages-grid .card {
    background: var(--color-background-white);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* KECUALI: Pastikan kad pakej 'Paling Laris' kekal dengan bingkai kuningnya */
.packages-grid .package-highlight {
    border-color: #f59e0b; /* Kuning */
}
/* === GAYA UNTUK SOALAN LAZIM (FAQ) === */
.faq-accordion { max-width: 800px; margin: 48px auto 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
    width: 100%; background: none; border: none; text-align: left;
    padding: 20px 0; font-size: 18px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; color: var(--color-text-dark);
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon { font-size: 24px; font-weight: 300; }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out;
}
.faq-answer p { padding: 0 16px 20px 0; margin: 0; line-height: 1.7; }

/* === GAYA UNTUK FOOTER BARU === */
.main-footer { padding: 60px 0; }
.footer-location-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media(min-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-map { grid-column: 2 / 3; grid-row: 1 / 2; }
    .footer-about { grid-column: 1 / 2; grid-row: 1 / 2; }
}
.footer-about h3 {
    font-size: 28px;
    color: var(--color-text-dark);
    margin-top: 0;
}
.footer-about p {
    line-height: 1.7;
}
.footer-map iframe {
    border-radius: 12px;
}
.footer-bar {
    background-color: #1e293b; /* Biru gelap */
    color: #cbd5e1; /* Kelabu cair */
    padding: 20px 0;
    font-size: 14px;
}
.footer-bar-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
@media(max-width: 768px) {
    .footer-bar-content { flex-direction: column; }
}
/* === GAYA TAMBAHAN UNTUK JAWATAN TESTIMONI === */
.testimonial-author {
    margin-top: 16px;
}
.testimonial-name {
    font-weight: bold;
    color: var(--color-text-dark);
}
.testimonial-job {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 4px;
}
/* === GAYA UNTUK ORDER BUMP === */

.order-bump-wrapper {
    background-color: #f9fafb; /* Warna latar neutral */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start; /* Jajarkan item ke atas */
    gap: 16px;
}

.order-bump-checkbox-container input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 2px; /* Penjajaran menegak dengan tajuk */
    flex-shrink: 0;
}

.order-bump-text-main {
    flex-grow: 1; /* Benarkan teks mengisi ruang */
}

.order-bump-text-main label {
    font-size: 1.1em;
    color: #111827; /* Hitam lembut */
    cursor: pointer;
    display: block;
    margin-bottom: 12px;
}

.order-bump-sub {
    color: #6b7280; /* Kelabu */
    font-weight: normal;
}

.order-bump-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0 0 12px 0;
}

.order-bump-bullets li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
    color: #374151;
}

.order-bump-bullets li::before {
    content: '👉';
    position: absolute;
    left: 0;
}

.order-bump-text-main p {
    font-size: 0.9em;
    color: #6b7280;
    margin: 0;
}

.order-bump-image {
    flex-shrink: 0;
}

.order-bump-image img {
    max-width: 120px;
    border-radius: 8px;
    display: block;
}

/* === Tetapan Responsif untuk Mobile === */
@media (max-width: 640px) {
    .order-bump-wrapper {
        flex-direction: column; /* Susun secara menegak */
    }

    .order-bump-image {
        margin-top: 16px;
        align-self: center; /* Letak gambar di tengah */
        max-width: 150px;
    }
}
/* GAYA UNTUK FAQ AKTIF */
.faq-question.active .faq-icon {
    transform: rotate(45deg); /* Pilihan: Untuk animasi pusingan ikon */
}
/* PEMBETULAN V2 UNTUK POP-UP DOWNSELL */
#downsell-modal .modal-content * {
    display: block !important;
    visibility: visible !important;
    color: black !important;
    font-size: 16px !important;
    background-color: white !important;
}
/* --- Calculator Section --- */
.calculator-section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
@media (min-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}
.calculator-inputs {
    padding: 24px;
}
.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.result-box {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.result-box span {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}
.result-box strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}
.result-box-highlight {
    background-color: var(--color-primary);
    color: white;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}
.result-box-highlight span {
    color: rgba(255,255,255,0.8);
}
.result-box-highlight strong {
    color: white;
    font-size: 32px;
}
/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 100;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    margin-top: 12px;
}

