/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f7fc;
    color: #1a2c3e;
    line-height: 1.5;
}

/* SCROLL PROGRESS */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #3b82f6);
    width: 0%;
    z-index: 2000;
}

/* HEADER - DIPERKECIL */
.modern-header {
    background: linear-gradient(135deg, #001f6e, #0029A3);
    color: white;
    padding: 12px 1rem;
    text-align: center;
}

/* ✅ LOGO CONTAINER (REVISI) */
.header-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ✅ LOGO IMAGE (REVISI TOTAL - SUPPORT LOGO PANJANG) */
.company-logo {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

/* Hover smooth */
.company-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* TEXT (opsional kalau masih dipakai) */
.header-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.header-logo-text span {
    font-weight: 400;
    color: #c7d2fe;
}

/* NAVIGATION - DIPERKECIL */
.glass-nav {
    background: #0029A3;
    padding: 10px 0 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-wrapper {
    max-width: 500px;
    margin: 0 auto 10px auto;
    padding: 0 1rem;
}

.search-box {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    display: flex;
    align-items: center;
    padding: 8px 18px;
    gap: 10px;
}

.search-box i {
    color: #e2e8ff;
    font-size: 0.9rem;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 0.8rem;
}

.nav-btn {
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-btn i {
    font-size: 0.8rem;
}

.nav-btn.active {
    background: #8B5CF6;
    box-shadow: 0 2px 8px rgba(139,92,246,0.4);
}

.nav-btn:hover:not(.active) {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.home-btn {
    background: #10b981;
}
.home-btn:hover {
    background: #059669;
}

/* MAIN CONTAINER */
.container {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1.2rem;
}

/* TAB CONTENT */
.tab-content {
    display: none;
    animation: fadeSlideUp 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CARD SECTION */
.card-section {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 1.8rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0029A3, #4f46e5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    border-left: 4px solid #8B5CF6;
    padding-left: 0.8rem;
}

/* Gambar */
.responsive-img {
    width: 100%;
    border-radius: 20px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* PDF Container */
.pdf-wrapper-full {
    width: 100%;
    background: #eef2f5;
    border-radius: 20px;
    overflow: hidden;
}

.pdf-container {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: #d9e2e8;
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.faq-wrapper {
    margin-top: 0.5rem;
}
.faq-item {
    background: #f8fafc;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    border: 1px solid #e2edf2;
}
.faq-question {
    font-weight: 700;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0c4a6e;
    background: white;
    border-radius: 20px;
}
.faq-question i {
    transition: transform 0.2s;
    color: #3b82f6;
    font-size: 0.8rem;
}
.faq-answer {
    padding: 0 1.2rem 1rem 1.2rem;
    color: #2d3e50;
    border-top: 1px solid #e9f0f3;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}

.product-content {
    background: #f1f5f9;
    padding: 1.2rem;
    border-radius: 20px;
}

.coverage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}
.badge-coverage {
    background: #e0e7ff;
    color: #1e40af;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* SCROLL TOP */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0029A3;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1100;
}
.scroll-top:hover {
    background: #8B5CF6;
}

/* Search highlight */
.search-highlight {
    background-color: #fde047;
    color: #1e293b;
    border-radius: 4px;
    padding: 0 2px;
}

.no-result-msg {
    text-align: center;
    background: #fff2e6;
    padding: 1.5rem;
    border-radius: 1.5rem;
    color: #b45309;
}

/* ✅ RESPONSIVE UPDATE LOGO */
@media (max-width: 680px) {
    .container {
        padding: 0 1rem;
    }
    .card-section {
        padding: 1rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .pdf-container {
        height: 50vh;
        min-height: 350px;
    }
    .nav-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    /* LOGO MOBILE */
    .company-logo {
        height: 34px;
        max-width: 140px;
    }
}