/* ==========================================================================
   LANDING PAGE & KATALOG PUBLIK - INVENTARIS LAB
   Design System: Modern, Clean, High-Trust Academic Lab Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Palet utama mengikuti warna dashboard (navy #0c1740) */
    --brand-dark: #0c1740;
    --brand-darker: #070d24;
    --brand-primary: #0c1740;
    --brand-primary-light: #1e2f6b;
    --brand-accent: #2a3f8f;
    --brand-accent-soft: #eef1f8;
    --brand-accent-border: #cfd7ec;
    --brand-highlight: #bfdbfe;
    --bg-body: #f6f7fb;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f3f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e6f0;
    --border-light: #eef0f6;
    --shadow-sm: 0 1px 2px 0 rgba(12, 23, 64, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(12, 23, 64, 0.07), 0 2px 4px -2px rgba(12, 23, 64, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(12, 23, 64, 0.08), 0 4px 6px -4px rgba(12, 23, 64, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(12, 23, 64, 0.1), 0 8px 10px -6px rgba(12, 23, 64, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    font-size: 16px;
}

body.landing-page-body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.landing-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.landing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    border-bottom-color: rgba(226, 232, 240, 0.95);
}

.landing-navbar.scrolled .navbar-inner {
    height: 66px;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.nav-brand-logo {
    height: 38px;
    width: auto;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    line-height: 1.2;
}

.nav-brand-sub {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-accent);
}

.nav-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 2rem;
}

.nav-main {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.35rem;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 0.95rem;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 9999px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--brand-primary);
    background-color: rgba(12, 23, 64, 0.05);
}

.nav-link.active {
    color: var(--brand-primary-light);
    background-color: var(--brand-accent-soft);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(12, 23, 64, 0.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary-light);
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-nav-login:hover {
    border-color: var(--brand-primary-light);
    background: var(--brand-accent-soft);
    color: var(--brand-primary);
}

.btn-nav-register {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(12, 23, 64, 0.25);
    transition: var(--transition);
}

.btn-nav-register:hover {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(12, 23, 64, 0.35);
    color: #ffffff;
}

.btn-nav-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-nav-dashboard:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

/* Mobile Toggle Button */
.nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1.5px solid var(--border-color);
    font-size: 1.25rem;
    color: var(--brand-dark);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.nav-mobile-toggle:hover {
    background: var(--brand-accent-soft);
    color: var(--brand-primary-light);
    border-color: rgba(12, 23, 64, 0.35);
    transform: scale(1.03);
}

.nav-mobile-toggle:active {
    transform: scale(0.96);
}

.nav-mobile-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(12, 23, 64, 0.35);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.landing-hero {
    position: relative;
    padding: 140px 0 80px 0;
    background: radial-gradient(100% 100% at 50% 0%, var(--brand-accent-soft) 0%, #f8fafc 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background-color: var(--brand-accent-soft);
    border: 1px solid var(--brand-accent-border);
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--brand-primary-light);
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--brand-dark);
    margin-bottom: 1.25rem;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 20px -5px rgba(12, 23, 64, 0.4);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -5px rgba(12, 23, 64, 0.5);
    color: #ffffff;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    border-color: var(--brand-primary-light);
    color: var(--brand-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-subnotes {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-subnote-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-subnote-item i {
    color: var(--brand-accent);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 480px;
    position: relative;
}

.hero-visual-card img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
}

.hero-visual-caption {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.hero-visual-caption h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
}

.hero-visual-caption p {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.landing-section {
    padding: 110px 0;
    scroll-margin-top: 76px;
}

.landing-section[id] {
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalog-category-grid {
    margin-bottom: 2.5rem;
}

.section-footer-action {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.section-alt {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: var(--brand-accent-soft);
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   FUNCTIONS: PENGAJUAN PEMINJAMAN
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--brand-accent-soft) 0%, var(--brand-accent-border) 100%);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.35rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.feature-card-step {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-surface-alt);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.feature-card-title {
    font-size: 1.175rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.65rem;
}

.feature-card-text {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* ==========================================================================
   SYARAT & KETENTUAN PEMINJAMAN
   ========================================================================== */
.terms-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 2.75rem;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.term-item:hover {
    border-color: var(--brand-accent-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.term-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background-color: var(--brand-accent-soft);
    color: var(--brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.term-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.35rem;
}

.term-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   BANNER AJAKAN KE KATALOG PUBLIK
   ========================================================================== */
.catalog-promo-card {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    color: #ffffff;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.catalog-promo-card::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.catalog-promo-content h3 {
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.catalog-promo-content p {
    font-size: 1.025rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.btn-catalog-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    background-color: #ffffff;
    color: var(--brand-dark);
    font-size: 0.975rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-catalog-promo:hover {
    background-color: var(--brand-accent-soft);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.catalog-promo-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.catalog-promo-badge i {
    font-size: 2.5rem;
    color: var(--brand-highlight);
    margin-bottom: 0.75rem;
}

.catalog-promo-badge h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.catalog-promo-badge span {
    font-size: 0.85rem;
    color: var(--brand-highlight);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--brand-highlight);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 1rem;
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--brand-primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer-inner {
    padding-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border-light);
    padding-top: 0.75rem;
}

.faq-kategori-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 3px 10px;
    background-color: var(--brand-accent-soft);
    color: var(--brand-primary-light);
    border: 1px solid var(--brand-accent-border);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    width: fit-content;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 70px 0;
    background: radial-gradient(circle at 50% 50%, var(--brand-accent-soft) 0%, #f8fafc 100%);
    border-top: 1px solid var(--border-color);
}

.cta-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    margin-bottom: 0.85rem;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.landing-footer {
    background-color: var(--brand-darker);
    color: #94a3b8;
    padding: 70px 0 30px 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 38px;
    width: auto;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-col h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-info-item i {
    color: var(--brand-highlight);
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   PUBLIC CATALOG VIEW (Landing/katalog.php)
   ========================================================================== */
.catalog-header-section {
    padding: 130px 0 40px 0;
    background: radial-gradient(100% 100% at 50% 0%, var(--brand-accent-soft) 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
}

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.catalog-breadcrumb a {
    color: var(--brand-primary-light);
}

.catalog-breadcrumb a:hover {
    text-decoration: underline;
}

.catalog-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.catalog-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 2rem;
}

/* Search & Filter Bar */
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.catalog-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.catalog-search-input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    font-size: 0.925rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    outline: none;
    transition: var(--transition);
}

.catalog-search-input:focus {
    border-color: var(--brand-primary-light);
    box-shadow: 0 0 0 3px rgba(12, 23, 64, 0.15);
}

.catalog-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.catalog-filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    border-color: var(--brand-primary-light);
    color: var(--brand-primary-light);
}

.filter-chip.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.catalog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.catalog-card-image-wrap {
    height: 190px;
    width: 100%;
    background: #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.catalog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-card-img {
    transform: scale(1.04);
}

.catalog-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2.5rem;
    gap: 0.5rem;
}

.catalog-card-placeholder span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.catalog-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.catalog-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.catalog-group-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-primary-light);
    background-color: var(--brand-accent-soft);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
}

.catalog-category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-accent);
    background-color: var(--brand-accent-soft);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}

.catalog-brand-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.catalog-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-accent-soft);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.catalog-availability-stay {
    color: #64748b;
    background: #f1f5f9;
}

.btn-catalog-disabled {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    width: 100%;
    justify-content: center;
    cursor: not-allowed;
}

/* Skeleton Loading Card */
.catalog-skeleton-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    height: 350px;
    position: relative;
    overflow: hidden;
}

.catalog-skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.6), transparent);
    animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

.catalog-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-catalog-borrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-primary-light);
    background-color: var(--brand-accent-soft);
    border-radius: var(--radius-full);
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.btn-catalog-borrow:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* Empty State */
.catalog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    background: var(--bg-surface);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.catalog-empty-state > i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.catalog-empty-state button i,
.catalog-empty-state a i {
    font-size: 0.9rem;
    color: currentColor;
    margin-bottom: 0;
}

.catalog-empty-state h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.catalog-empty-state p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Catalog Pagination
   ========================================================================== */
.catalog-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background-color: var(--brand-accent-soft);
}

.pagination-btn.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(10, 107, 74, 0.25);
}

.pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: var(--border-color);
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 576px) {
    .catalog-pagination-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .pagination-nav {
        justify-content: center;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-subnotes {
        justify-content: center;
    }

    .hero-visual-card {
        margin: 0 auto;
    }

    .catalog-promo-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 991px) {
    .nav-mobile-toggle {
        display: inline-flex;
    }

    .nav-collapse {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
        padding: 1.25rem 1.5rem 1.75rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-left: 0;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        z-index: 999;
    }

    .landing-navbar.scrolled .nav-collapse {
        top: 66px;
        max-height: calc(100vh - 66px);
    }

    .nav-collapse.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-main {
        width: 100%;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 12px;
        color: var(--text-primary);
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .nav-link:hover {
        background-color: #f1f5f9;
        color: var(--brand-primary);
        transform: translateX(4px);
    }

    .nav-link.active {
        background-color: var(--brand-accent-soft);
        color: var(--brand-primary-light);
        font-weight: 700;
        box-shadow: none;
    }

    .nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        margin-top: 0.25rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(226, 232, 240, 0.85);
    }

    .btn-nav-login,
    .btn-nav-register,
    .btn-nav-dashboard {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .nav-brand-title {
        font-size: 1.05rem;
    }

    .nav-brand-sub {
        font-size: 0.65rem;
    }

    .nav-brand-logo {
        height: 32px;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .landing-navbar .landing-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-collapse {
        padding: 1rem 1rem 1.5rem 1rem;
    }
}

@media (max-width: 767px) {

    .hero-title {
        font-size: 2.15rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .terms-wrapper {
        padding: 1.5rem;
    }

    .terms-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .landing-section {
        padding: 75px 0;
    }

    .landing-section[id] {
        min-height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   LOADING VIEW (Identik dengan View Login / templates/header.php)
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, visibility;
    pointer-events: auto;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Animasi Sesuai UIverse */
.pl1 {
    display: block;
    width: 8em;
    height: 8em;
}

.pl1__g,
.pl1__rect {
    animation: pl1-a 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.pl1__g {
    transform-origin: 64px 64px;
}

.pl1__rect:first-child {
    animation-name: pl1-b;
}

.pl1__rect:nth-child(2) {
    animation-name: pl1-c;
}

@keyframes pl1-a {
    from {
        transform: rotate(0);
    }

    80%,
    to {
        transform: rotate(90deg);
    }
}

@keyframes pl1-b {
    from {
        animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
        width: 40px;
        height: 40px;
    }

    20% {
        width: 40px;
        height: 0;
    }

    60% {
        width: 0;
        height: 40px;
    }

    80%,
    to {
        width: 40px;
        height: 40px;
    }
}

@keyframes pl1-c {
    from {
        width: 40px;
        height: 40px;
        transform: translate(0, 48px);
    }

    20% {
        width: 40px;
        height: 88px;
        transform: translate(0, 0);
    }

    40% {
        width: 40px;
        height: 40px;
        transform: translate(0, 0);
    }

    60% {
        width: 88px;
        height: 40px;
        transform: translate(0, 0);
    }

    80%,
    to {
        width: 40px;
        height: 40px;
        transform: translate(48px, 0);
    }
}

/* ==========================================================================
   HELPDESK FOOTER BUTTON & MODAL
   ========================================================================== */
.btn-helpdesk-landing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-helpdesk-landing i {
    color: var(--brand-highlight);
    font-size: 0.95rem;
}

.btn-helpdesk-landing:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 219, 254, 0.35);
}

.btn-helpdesk-landing:hover i {
    color: #ffffff;
}

/* Modal Overlay & Card */
.landing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.landing-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.landing-modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.landing-modal-header {
    padding: 1.5rem 1.75rem 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--brand-accent-soft);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.landing-modal-header .modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.landing-modal-header .modal-subtitle {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.btn-close-modal:hover {
    color: #ef4444;
}

.landing-modal-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.landing-modal-body .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .landing-modal-body .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.landing-modal-body .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.landing-modal-body label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.landing-modal-body label .req {
    color: #ef4444;
}

.landing-modal-body input,
.landing-modal-body select,
.landing-modal-body textarea {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: #f8fafc;
    transition: var(--transition);
    font-family: inherit;
}

.landing-modal-body input:focus,
.landing-modal-body select:focus,
.landing-modal-body textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(12, 23, 64, 0.1);
}

.landing-modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal-secondary {
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-modal-secondary:hover {
    background: #f1f5f9;
    color: var(--text-primary);
}

.btn-modal-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-full);
    border: none;
    background: var(--brand-dark);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(12, 23, 64, 0.2);
}

.btn-modal-primary:hover {
    background: var(--brand-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(12, 23, 64, 0.3);
}

.btn-modal-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


