:root {
    --bs-primary: #3d1c02;
    --primary: #3d1c02;
    --primary-dark: #2a1301;
    --primary-light: #5a3a1a;
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --purple-light: #a78bfa;
    --purple-bg: #f3f0ff;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #d4a574;
    --danger: #e74a3b;
    --secondary: #858796;
    --light: #f8f9fc;
    --dark: #5a5c69;
    --pramuka-brown: #3d1c02;
    --pramuka-green: #2d5016;
    --pramuka-gold: #d4a574;
    --pramuka-cream: #faf6f1;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fc;
    overflow-x: hidden;
}

/* ============================================================
   SB ADMIN 2 LAYOUT
   ============================================================ */

/* Wrapper: flex horizontal, sidebar di kiri, content di kanan */
#wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    min-height: 100vh;
}

/* Sidebar: fixed di kiri */
.sidebar {
    width: 224px !important;
    height: 100vh;
    background: linear-gradient(180deg, #3d1c02 10%, #1a0e01 100%);
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 1040;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.2) transparent;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 10px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.35); }

/* Reset navbar-nav yang dari Bootstrap */
.sidebar.navbar-nav {
    flex-direction: column !important;
    display: flex !important;
}

.sidebar .nav-item {
    list-style: none;
}

.sidebar .nav-link {
    color: rgba(255,255,255,.8) !important;
    padding: 0.6rem 1rem !important;
    font-weight: 500;
    font-size: 0.85rem;
    display: flex !important;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    border: 0;
    transition: all 0.15s;
    line-height: 1.5;
}

.sidebar .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,.1);
}

.sidebar .nav-item.active > .nav-link {
    color: #fff !important;
    font-weight: 700;
}

.sidebar .nav-link i {
    font-size: 0.85rem;
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
}

.sidebar-brand:hover {
    color: #fff;
    text-decoration: none;
}

.sidebar-brand-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.sidebar-brand-text {
    white-space: nowrap;
}

/* Headings & Dividers */
.sidebar-heading {
    padding: 0.25rem 1rem;
    font-weight: 800;
    font-size: 0.65rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 0.13rem;
}

.sidebar-divider {
    border-top: 1px solid rgba(255,255,255,.15);
    margin: 0.5rem 1rem;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}

/* Sidebar Dropdown Groups */
.sidebar-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.sidebar-dropdown-toggle .dropdown-arrow {
    transition: transform .25s ease;
    font-size: .7rem;
}

.sidebar-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar-dropdown-toggle.active-group {
    background: rgba(255,255,255,.08) !important;
}

.dropdown-group .collapse .nav-link {
    padding-left: 2.5rem !important;
    font-size: .82rem;
}

.dropdown-group .collapse .nav-link i {
    font-size: .7rem;
    width: 18px;
    text-align: center;
}

/* Collapsed sidebar */
.sidebar.toggled {
    width: 6.5rem !important;
}

.sidebar.toggled .sidebar-brand-text,
.sidebar.toggled .nav-link span,
.sidebar.toggled .sidebar-heading {
    display: none !important;
}

.sidebar.toggled .dropdown-arrow,
.sidebar.toggled .dropdown-group .collapse {
    display: none !important;
}

.sidebar.toggled .nav-item .nav-link {
    justify-content: center;
    padding: 0.6rem 0.5rem !important;
}

.sidebar.toggled .nav-link i {
    margin: 0 !important;
    font-size: 1rem;
    width: auto;
}

.sidebar.toggled .sidebar-brand {
    justify-content: center;
    padding: 1.5rem 0.5rem;
}

/* ============================================================
   CONTENT WRAPPER
   ============================================================ */
#content-wrapper {
    margin-left: 224px !important;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 auto !important;
    width: calc(100% - 224px) !important;
    transition: margin-left 0.15s ease-in-out, width 0.15s ease-in-out;
}

.sidebar.toggled ~ #content-wrapper {
    margin-left: 6.5rem !important;
    width: calc(100% - 6.5rem) !important;
}

#content {
    flex: 1 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    height: 3.5rem;
    min-height: 3.5rem;
    background-color: #fff;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
    display: flex !important;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    flex-shrink: 0;
}

.topbar .navbar-search {
    max-width: 220px;
    width: 100%;
}

.topbar .navbar-search .form-control {
    font-size: 0.8rem;
    border-radius: 10rem;
    padding-right: 2.5rem;
    padding-left: 1rem;
    background-color: #f8f9fc;
    border: 1px solid #e3e6f0;
}

.topbar .navbar-search .form-control:focus {
    border-color: var(--pramuka-brown);
    box-shadow: 0 0 0 0.2rem rgba(61,28,2,.25);
}

.topbar .navbar-search .input-group {
    position: relative;
}

.topbar .navbar-search .input-group-append {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
}

.topbar .navbar-search .input-group-append .btn {
    border-radius: 0 10rem 10rem 0;
    padding: 0.5rem 1rem;
}

.topbar-divider {
    width: 0;
    border-right: 1px solid #e3e6f0;
    height: 1.5rem;
    margin: auto 0.5rem;
}

.img-profile {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    border-radius: 50%;
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown-list {
    width: 20rem;
    max-height: 24rem;
    overflow-y: auto;
}

.dropdown-header {
    background-color: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    padding: 0.75rem 1rem;
    border: none;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.dropdown-item:active {
    background-color: var(--primary);
    color: #fff;
}

.icon-circle {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 1rem;
}

.badge-counter {
    position: absolute;
    transform: scale(0.7);
    transform-origin: top right;
    right: 0.25rem;
    top: 0.5rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    border: none !important;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 0.75rem 1.25rem;
}

.card-header h6 {
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* Stat cards */
.border-left-primary { border-left: 0.25rem solid var(--primary) !important; }
.border-left-success { border-left: 0.25rem solid var(--success) !important; }
.border-left-info { border-left: 0.25rem solid var(--info) !important; }
.border-left-warning { border-left: 0.25rem solid var(--warning) !important; }
.border-left-danger { border-left: 0.25rem solid var(--danger) !important; }

.text-xs { font-size: 0.7rem; }
.font-weight-bold { font-weight: 700 !important; }
.text-gray-800 { color: #5a5c69 !important; }
.text-gray-300 { color: #dddfeb !important; }
.text-gray-500 { color: #b7b9cc !important; }

.no-gutters > [class*="col-"] { padding-left: 0; padding-right: 0; }

/* ============================================================
   TABLE
   ============================================================ */
.table-container {
    background: #fff;
    border-radius: 0.35rem;
    padding: 1.25rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
}

.table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    color: #5a5c69;
    border-top: none;
    border-bottom: 2px solid #e3e6f0;
    background-color: #f8f9fc;
}

.table-hover tbody tr:hover {
    background-color: rgba(78,115,223,.05);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3e6f0;
}

.page-header h4 {
    font-weight: 700;
    font-size: 1.35rem;
    color: #5a5c69;
    margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-pramuka {
    background-color: var(--pramuka-brown);
    border-color: var(--pramuka-brown);
    color: #fff;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border: none;
    border-radius: 0.35rem;
    font-size: 0.85rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
    border-radius: 0.35rem;
    font-size: 0.85rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #5a5c69;
}

/* ============================================================
   LOGIN
   ============================================================ */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #224abe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,.15);
}

/* ============================================================
   LANDIFY-STYLE PUBLIC LANDING PAGE
   ============================================================ */

/* General */
.public-page { font-family: 'Nunito', sans-serif; color: var(--text-dark); }
.section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .overline { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .2rem; color: var(--purple); font-weight: 700; margin-bottom: .5rem; }
.section-title h2 { font-size: 2.2rem; font-weight: 900; color: var(--text-dark); margin-bottom: .75rem; }
.section-title p { color: var(--text-muted); max-width: 550px; margin: 0 auto; font-size: .95rem; }
.section-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--purple-bg); color: var(--purple); padding: .4rem 1rem; border-radius: 50px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; }

/* Header / Navbar */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 999; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-light); transition: all .3s; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-header .logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 900; font-size: 1.3rem; color: var(--primary); }
.site-header .logo i { color: var(--purple); font-size: 1.5rem; }
.site-header .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-header .nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: .88rem; transition: color .2s; position: relative; }
.site-header .nav-links a:hover { color: var(--purple); }

/* Public Header Dropdown */
.site-header .nav-links li.has-dropdown { position: relative; }
.site-header .nav-links li.has-dropdown > a::after { display: none; }
.site-header .nav-links li.has-dropdown > a { display: inline-flex; align-items: center; gap: .3rem; }
.site-header .nav-links li.has-dropdown > a .bi-chevron-down { font-size: .6rem; transition: transform .2s; }
.site-header .nav-links li.has-dropdown:hover > a .bi-chevron-down { transform: rotate(180deg); }
.site-header .nav-links .dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 12px; padding: .5rem; min-width: 180px; box-shadow: 0 12px 40px rgba(0,0,0,.12); border: 1px solid var(--border-light); z-index: 1000; list-style: none; margin: 0; }
.site-header .nav-links li.has-dropdown:hover > .dropdown-menu { display: block; }
.site-header .nav-links .dropdown-menu a { display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 8px; font-size: .82rem; transition: background .2s; white-space: nowrap; }
.site-header .nav-links .dropdown-menu a:hover { background: var(--pramuka-cream); }
.site-header .nav-links .dropdown-menu a::after { display: none; }
.site-header .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--purple); transition: width .3s; }
.site-header .nav-links a:hover::after { width: 100%; }
.site-header .header-cta { background: var(--purple); color: #fff; padding: .6rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .85rem; transition: all .3s; }
.site-header .header-cta:hover { background: var(--purple-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(124,58,237,.3); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; }

/* Hero */
.hero { padding: 10rem 0 5rem; background: linear-gradient(160deg, var(--pramuka-cream) 0%, #fff 50%, var(--purple-bg) 100%); position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,58,237,.06) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -150px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(61,28,2,.04) 0%, transparent 70%); border-radius: 50%; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 560px; }
.hero-content .hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--purple-bg); color: var(--purple); padding: .5rem 1.2rem; border-radius: 50px; font-size: .78rem; font-weight: 700; margin-bottom: 1.5rem; border: 1px solid rgba(124,58,237,.15); }
.hero-content h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.12; color: var(--text-dark); margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--purple); }
.hero-content .lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.hero-actions .btn-primary-custom { background: var(--purple); color: #fff; padding: .85rem 2rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .9rem; transition: all .3s; display: inline-flex; align-items: center; gap: .5rem; border: none; }
.hero-actions .btn-primary-custom:hover { background: var(--purple-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,.3); }
.hero-actions .btn-secondary-custom { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-dark); text-decoration: none; font-weight: 700; font-size: .9rem; padding: .85rem 1.5rem; border-radius: 10px; transition: all .3s; }
.hero-actions .btn-secondary-custom i { font-size: 1.5rem; color: var(--purple); }
.hero-actions .btn-secondary-custom:hover { color: var(--purple); }
.hero-stats { display: flex; gap: 2.5rem; }
.hero-stats .stat-item { }
.hero-stats .stat-number { display: block; font-size: 1.8rem; font-weight: 900; color: var(--text-dark); }
.hero-stats .stat-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05rem; }
.hero-visual { position: relative; }
.hero-visual img { max-width: 100%; border-radius: 20px; }
.hero-visual .floating-card { position: absolute; background: #fff; border-radius: 12px; padding: .75rem 1.25rem; box-shadow: 0 10px 40px rgba(0,0,0,.1); display: flex; align-items: center; gap: .75rem; animation: floatCard 3s ease-in-out infinite; }
.hero-visual .floating-card i { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; }
.hero-visual .floating-card span { font-weight: 700; font-size: .85rem; color: var(--text-dark); }
.hero-visual .fc-1 { top: 10%; left: -20px; animation-delay: 0s; }
.hero-visual .fc-1 i { background: var(--purple); }
.hero-visual .fc-2 { bottom: 20%; right: -10px; animation-delay: 1s; }
.hero-visual .fc-2 i { background: var(--pramuka-gold); }
.hero-visual .fc-3 { bottom: 5%; left: 10%; animation-delay: 2s; }
.hero-visual .fc-3 i { background: var(--success); }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* About / Profil */
.about-section { background: #fff; }
.about-section .section-badge { margin-bottom: 1rem; }
.about-section h2 { font-size: 2rem; font-weight: 900; color: var(--text-dark); margin-bottom: 1rem; }
.about-section .lead-text { font-size: 1rem; color: var(--text-dark); font-weight: 500; line-height: 1.7; margin-bottom: 1rem; }
.about-section .desc-text { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.about-section .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-section .stats-grid .stat-box { text-align: center; padding: 1.25rem; border-radius: 12px; background: var(--pramuka-cream); }
.about-section .stats-grid .stat-box .num { font-size: 1.8rem; font-weight: 900; color: var(--purple); }
.about-section .stats-grid .stat-box .lbl { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05rem; }
.about-visual { position: relative; }
.about-visual .main-img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.1); width: 100%; }
.about-visual .overlay-card { position: absolute; bottom: -20px; right: -20px; background: var(--purple); color: #fff; padding: 1.5rem; border-radius: 16px; max-width: 250px; box-shadow: 0 10px 40px rgba(124,58,237,.3); }
.about-visual .overlay-card h5 { font-weight: 800; margin-bottom: .5rem; }
.about-visual .overlay-card p { font-size: .8rem; opacity: .9; margin-bottom: 0; }

/* Feature Boxes */
.feature-boxes { padding: 4rem 0; background: var(--pramuka-cream); }
.feature-box { text-align: center; padding: 2rem 1.5rem; border-radius: 16px; background: #fff; transition: all .3s; border: 1px solid var(--border-light); }
.feature-box:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,.08); border-color: var(--purple-light); }
.feature-box .icon-box { width: 60px; height: 60px; border-radius: 14px; background: var(--purple-bg); color: var(--purple); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; transition: all .3s; }
.feature-box:hover .icon-box { background: var(--purple); color: #fff; }
.feature-box h5 { font-weight: 800; font-size: 1.05rem; margin-bottom: .5rem; color: var(--text-dark); }
.feature-box p { font-size: .85rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.6; }

/* Features Tabs */
.features-tabs-section { background: #fff; }
.tabs-nav { display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tabs-nav .nav-btn { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.5rem; border: 2px solid var(--border-light); border-radius: 12px; background: #fff; cursor: pointer; transition: all .3s; flex: 1; min-width: 200px; }
.tabs-nav .nav-btn:hover { border-color: var(--purple-light); }
.tabs-nav .nav-btn.active { border-color: var(--purple); background: var(--purple-bg); }
.tabs-nav .nav-btn .tab-icon { width: 45px; height: 45px; border-radius: 10px; background: var(--purple-bg); color: var(--purple); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.tabs-nav .nav-btn.active .tab-icon { background: var(--purple); color: #fff; }
.tabs-nav .nav-btn h5 { font-size: .95rem; font-weight: 700; margin: 0; color: var(--text-dark); }
.tabs-nav .nav-btn span { font-size: .75rem; color: var(--text-muted); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .feature-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.tab-panel .feature-list li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; font-size: .9rem; color: var(--text-dark); }
.tab-panel .feature-list li i { color: var(--purple); font-size: 1rem; }
.tab-panel .tab-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
.tab-panel .tab-stats .stat-item .num { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); }
.tab-panel .tab-stats .stat-item .lbl { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; }
.tab-panel .btn-learn { display: inline-flex; align-items: center; gap: .5rem; background: var(--purple); color: #fff; padding: .7rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .85rem; transition: all .3s; margin-top: 1.5rem; }
.tab-panel .btn-learn:hover { background: var(--purple-dark); color: #fff; }
.tab-visual img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.1); }

/* Gudep / Saka Cards */
.cards-section { background: var(--pramuka-cream); }
.gudep-card, .saka-card { background: #fff; border-radius: 16px; padding: 2rem; text-align: center; transition: all .4s cubic-bezier(.25,.8,.25,1); border: 1px solid var(--border-light); height: 100%; position: relative; overflow: hidden; }
.gudep-card::after, .saka-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--purple), var(--pramuka-gold)); transform: scaleX(0); transition: transform .3s; }
.gudep-card:hover, .saka-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.1); border-color: var(--purple-light); }
.gudep-card:hover::after, .saka-card:hover::after { transform: scaleX(1); }
.gudep-card .card-icon, .saka-card .card-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; transition: all .3s; }
.gudep-card:hover .card-icon, .saka-card:hover .card-icon { transform: scale(1.1); }
.gudep-card .card-icon { background: var(--purple-bg); color: var(--purple); }
.saka-card .card-icon { background: rgba(28,200,138,.1); color: var(--success); }
.gudep-card h6, .saka-card h6 { font-weight: 800; color: var(--text-dark); margin-bottom: .5rem; }
.gudep-card .badge-jenjang, .saka-card .badge-type { display: inline-block; padding: .25rem .75rem; border-radius: 50px; font-size: .7rem; font-weight: 700; }
.gudep-card .badge-jenjang { background: rgba(54,185,204,.1); color: var(--info); }
.saka-card .badge-type { background: rgba(28,200,138,.1); color: var(--success); }
.gudep-card .location, .saka-card .desc { font-size: .8rem; color: var(--text-muted); margin-top: .5rem; }

/* Berita Cards */
.berita-section { background: #fff; }
.news-card { background: #fff; border-radius: 16px; overflow: hidden; transition: all .4s cubic-bezier(.25,.8,.25,1); border: 1px solid var(--border-light); height: 100%; position: relative; }
.news-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--purple), var(--pramuka-gold)); opacity: 0; transition: opacity .3s; z-index: 2; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.news-card:hover::before { opacity: 1; }
.news-card .img-wrapper { overflow: hidden; position: relative; }
.news-card .img-wrapper img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s cubic-bezier(.25,.8,.25,1); }
.news-card:hover .img-wrapper img { transform: scale(1.08); }
.news-card .card-body { padding: 1.5rem; }
.news-card .card-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.news-card .card-meta .badge { background: var(--purple-bg); color: var(--purple); font-weight: 700; font-size: .68rem; padding: .3rem .7rem; border-radius: 50px; }
.news-card .card-meta .time { font-size: .75rem; color: var(--text-muted); }
.news-card .card-title { font-weight: 800; font-size: 1rem; color: var(--text-dark); line-height: 1.4; margin-bottom: .5rem; }
.news-card .card-excerpt { font-size: .85rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }

/* Kegiatan */
.kegiatan-section { background: var(--pramuka-cream); }
.kegiatan-item { display: flex; gap: 1.25rem; background: #fff; border-radius: 16px; padding: 1.5rem; border: 1px solid var(--border-light); transition: all .3s; position: relative; overflow: hidden; }
.kegiatan-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--purple), var(--pramuka-gold)); }
.kegiatan-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,.08); }
.kegiatan-date-box { min-width: 70px; text-align: center; background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%); color: #fff; border-radius: 12px; padding: 1rem .5rem; flex-shrink: 0; position: relative; overflow: hidden; }
.kegiatan-date-box::after { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%); }
.kegiatan-date-box .day { font-size: 1.8rem; font-weight: 900; line-height: 1; position: relative; z-index: 1; }
.kegiatan-date-box .month { font-size: .6rem; text-transform: uppercase; letter-spacing: .12rem; opacity: .85; font-weight: 600; position: relative; z-index: 1; }
.kegiatan-info h6 { font-weight: 800; color: var(--text-dark); margin-bottom: .35rem; }
.kegiatan-info .location { font-size: .8rem; color: var(--text-muted); margin-bottom: .35rem; }
.kegiatan-info .desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* Prestasi */
.prestasi-section { background: #fff; }
.prestasi-card { background: #fff; border-radius: 16px; padding: 2rem; text-align: center; transition: all .4s cubic-bezier(.25,.8,.25,1); border: 1px solid var(--border-light); position: relative; overflow: hidden; }
.prestasi-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pramuka-gold), #f0c87a); transform: scaleX(0); transition: transform .3s; }
.prestasi-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.prestasi-card:hover::after { transform: scaleX(1); }
.prestasi-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--pramuka-gold), #b8844a); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; box-shadow: 0 8px 25px rgba(212,165,116,.35); transition: all .3s; }
.prestasi-card:hover .prestasi-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 12px 35px rgba(212,165,116,.45); }
.prestasi-icon i { font-size: 2rem; color: #fff; }
.prestasi-card h6 { font-weight: 800; color: var(--text-dark); margin-bottom: .5rem; }
.prestasi-card .badge { padding: .3rem .8rem; border-radius: 50px; font-size: .68rem; font-weight: 700; }

/* Pengumuman */
.pengumuman-section { background: var(--pramuka-cream); }
.pengumuman-item { border-radius: 16px; padding: 1.5rem; margin-bottom: 1rem; display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--border-light); background: #fff; transition: all .3s; }
.pengumuman-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,.06); }
.pengumuman-item .icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.pengumuman-item.priority-urgent .icon-box { background: rgba(231,74,59,.1); color: var(--danger); }
.pengumuman-item.priority-high .icon-box { background: rgba(212,165,116,.1); color: var(--pramuka-gold); }
.pengumuman-item.priority-normal .icon-box { background: var(--purple-bg); color: var(--purple); }
.pengumuman-item h6 { font-weight: 700; color: var(--text-dark); margin-bottom: .25rem; }
.pengumuman-item p { font-size: .85rem; color: var(--text-muted); margin-bottom: .25rem; }
.pengumuman-item .time { font-size: .72rem; color: var(--text-muted); }

/* CTA */
.cta-section { background: linear-gradient(160deg, var(--pramuka-brown) 0%, #2a1301 40%, var(--purple-dark) 100%); color: #fff; padding: 5rem 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(212,165,116,.1) 0%, transparent 60%); border-radius: 50%; }
.cta-section h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 1rem; }
.cta-section p { opacity: .85; font-size: 1.05rem; max-width: 500px; margin-bottom: 2rem; }
.cta-checklist { list-style: none; padding: 0; margin-bottom: 2rem; }
.cta-checklist li { display: flex; align-items: center; gap: .75rem; padding: .4rem 0; font-size: .9rem; }
.cta-checklist li i { color: var(--pramuka-gold); font-size: 1rem; }
.cta-btn { background: var(--pramuka-gold); color: #fff; padding: .85rem 2.5rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .9rem; transition: all .3s; display: inline-flex; align-items: center; gap: .5rem; border: none; }
.cta-btn:hover { background: #c49060; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,165,116,.4); }

/* Footer */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.site-footer h6 { color: var(--pramuka-gold); font-weight: 700; text-transform: uppercase; letter-spacing: .1rem; font-size: .75rem; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255,255,255,.5); text-decoration: none; transition: all .2s; font-size: .85rem; }
.site-footer a:hover { color: var(--pramuka-gold); padding-left: 5px; }
.site-footer .footer-brand { font-size: 1.4rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.site-footer .footer-brand i { color: var(--purple); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; margin-top: 2.5rem; font-size: .8rem; text-align: center; }
.site-footer .social-links { display: flex; gap: .75rem; margin-top: 1rem; }
.site-footer .social-links a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all .3s; }
.site-footer .social-links a:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }
.site-footer p, .site-footer ul, .site-footer li { color: rgba(255,255,255,.65) !important; }
.site-footer ul li a { color: rgba(255,255,255,.55) !important; }
.site-footer ul li a:hover { color: var(--pramuka-gold) !important; }
.site-footer .footer-bottom { color: rgba(255,255,255,.45) !important; }

/* Back to top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 12px; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 6px 20px rgba(124,58,237,.3); opacity: 0; visibility: hidden; transition: all .4s; z-index: 1000; text-decoration: none; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--purple-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(124,58,237,.4); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animated--grow-in {
    animation-name: growIn;
    animation-duration: 0.2s;
    animation-timing-function: transform cubic-bezier(0.18,1.25,0.4,1), opacity cubic-bezier(0,1,0.4,1);
}

@keyframes growIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   SIDEBAR TOGGLE (mobile)
   ============================================================ */
.sidebar-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 1035;
}

/* ============================================================
   FOOTER (Admin)
   ============================================================ */
footer.sticky-footer {
    padding: 1.5rem 0;
    flex-shrink: 0;
    background-color: #fff;
    border-top: 1px solid #e3e6f0;
}

footer .copyright {
    font-size: 0.8rem;
    color: #b7b9cc;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%) !important;
        width: 224px !important;
    }
    .sidebar.show {
        transform: translateX(0) !important;
    }
    .sidebar.toggled {
        width: 224px !important;
    }
    .sidebar.toggled .sidebar-brand-text,
    .sidebar.toggled .nav-link span,
    .sidebar.toggled .sidebar-heading {
        display: inline !important;
    }
    .sidebar.toggled .nav-item .nav-link {
        justify-content: flex-start !important;
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem;
    }
    .sidebar.toggled .nav-link i {
        margin-right: 0.5rem !important;
        width: 1.25rem;
    }
    #content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .sidebar-toggle {
        display: flex;
    }
    .hero { padding: 8rem 0 3rem; min-height: auto; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-visual { margin-top: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stats .stat-number { font-size: 1.4rem; }
    .site-header .nav-links { display: none; }
    .site-header .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
    .site-header .nav-links .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding-left: 1.5rem; min-width: auto; }
    .mobile-toggle { display: block; }
    .tabs-nav { flex-direction: column; }
    .about-section .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .sidebar, .topbar, .sidebar-toggle, .sidebar-backdrop {
        display: none !important;
    }
    #content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.bg-pramuka { background-color: var(--pramuka-brown) !important; }
.text-pramuka { color: var(--pramuka-brown) !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.ml-md-3 { margin-left: 1rem !important; }

/* ============================================================
   LANDING PAGE (Bootstrap rebuild) — prefix: lp-
   ============================================================ */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 86px; }

/* ---- Header ---- */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow .3s;
}
.lp-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.lp-header .navbar { min-height: 70px; padding-top: 0; padding-bottom: 0; }
.lp-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0;
}
.lp-brand:hover { color: var(--primary); }
.lp-brand img { height: 44px; width: auto; }
.lp-brand i { color: var(--purple); font-size: 1.6rem; }
.lp-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem .6rem !important;
    border-radius: 8px;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.lp-link:hover, .lp-link:focus { color: var(--purple) !important; }
.lp-dropdown {
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    padding: .5rem;
    font-size: .85rem;
}
.lp-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
}
.lp-dropdown .dropdown-item:hover, .lp-dropdown .dropdown-item:focus {
    background: var(--pramuka-cream);
    color: var(--purple);
}
.lp-dropdown .dropdown-item i { color: var(--purple); }
.lp-cta {
    background: var(--purple);
    color: #fff;
    padding: .6rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .3s;
    white-space: nowrap;
}
.lp-cta:hover { background: var(--purple-dark); color: #fff; box-shadow: 0 4px 15px rgba(124,58,237,.3); }
.lp-toggler {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 1.4rem;
    padding: .25rem .6rem;
}
.lp-toggler:focus { box-shadow: 0 0 0 3px rgba(124,58,237,.15); }

@media (max-width: 991.98px) {
    .lp-header .navbar-collapse {
        background: #fff;
        margin: .75rem -0.75rem -0.75rem;
        padding: .5rem 1.25rem 1.25rem;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 14px 30px rgba(0,0,0,.08);
    }
    .lp-link { display: block; padding: .6rem .25rem !important; }
}

/* ---- Hero ---- */
.lp-hero {
    padding: 9.5rem 0 5rem;
    background: linear-gradient(160deg, var(--pramuka-cream) 0%, #fff 55%, var(--purple-bg) 100%);
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,.06) 0%, transparent 70%);
    border-radius: 50%;
}
.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61,28,2,.04) 0%, transparent 70%);
    border-radius: 50%;
}
.lp-hero .container { position: relative; z-index: 2; }
.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--purple-bg);
    color: var(--purple);
    padding: .5rem 1.2rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124,58,237,.15);
}
.lp-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}
.lp-hero-title span { color: var(--purple); }
.lp-hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}
.lp-hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.lp-hero-stat .num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--text-dark); }
.lp-hero-stat .lbl { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05rem; }

.btn-lp-primary {
    background: var(--purple);
    color: #fff;
    padding: .85rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: none;
}
.btn-lp-primary:hover { background: var(--purple-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,.3); }
.btn-lp-green {
    background: var(--success);
    color: #fff;
    padding: .85rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: none;
}
.btn-lp-green:hover { background: #17a673; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(28,200,138,.3); }
.btn-lp-ghost {
    border: 2px solid var(--border-light);
    color: var(--text-dark);
    border-radius: 12px;
    padding: .78rem 1.5rem;
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    background: #fff;
    transition: all .3s;
}
.btn-lp-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-lp-sm { padding: .7rem 1.6rem; font-size: .85rem; border-radius: 10px; }

/* ---- Hero visual ---- */
.lp-hero-visual { position: relative; max-width: 480px; margin: 0 auto; }
.lp-hero-stage {
    background: linear-gradient(135deg, var(--purple-bg), rgba(124,58,237,.15));
    border-radius: 28px;
    padding: 3.25rem 2rem;
    text-align: center;
    border: 1px solid rgba(124,58,237,.12);
}
.lp-hero-logo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 20px 50px rgba(61,28,2,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    outline: 2px dashed rgba(124,58,237,.35);
    outline-offset: 10px;
}
.lp-hero-logo img { width: 150px; height: 150px; object-fit: contain; }
.lp-hero-logo i { font-size: 5rem; color: var(--purple); opacity: .8; }
.lp-hero-logo-sm { width: 160px; height: 160px; }
.lp-hero-logo-sm img { width: 125px; height: 125px; }
.lp-hero-logo-sm i { font-size: 4rem; }
.lp-hero-caption { margin-top: 1.75rem; font-weight: 800; font-size: 1.15rem; color: var(--primary); }
.lp-hero-subcaption { font-size: .85rem; color: var(--text-muted); margin-top: .25rem; }
.lp-float {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: .7rem 1.1rem;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    gap: .6rem;
    animation: floatCard 3s ease-in-out infinite;
    font-weight: 700;
    font-size: .85rem;
    color: var(--text-dark);
    white-space: nowrap;
    z-index: 3;
}
.lp-float i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.lp-float-1 { top: 5%; left: -18px; animation-delay: 0s; }
.lp-float-1 i { background: var(--purple); }
.lp-float-2 { top: 28%; right: -14px; animation-delay: 1s; }
.lp-float-2 i { background: var(--pramuka-gold); }
.lp-float-3 { bottom: -14px; left: 10%; animation-delay: 2s; }
.lp-float-3 i { background: var(--success); }

@media (max-width: 575.98px) {
    .lp-hero { padding: 8rem 0 3.5rem; }
    .lp-hero-stage { padding: 2.25rem 1rem; }
    .lp-hero-logo { width: 150px; height: 150px; }
    .lp-hero-logo img { width: 115px; height: 115px; }
    .lp-float { font-size: .75rem; padding: .5rem .8rem; }
    .lp-float i { width: 30px; height: 30px; font-size: .85rem; }
    .lp-float-1 { left: -6px; }
    .lp-float-2 { right: -6px; }
    .lp-float-3 { left: 2%; }
}

/* ---- Stat cards ---- */
.lp-stats-section { padding: 3rem 0 0; background: #fff; }
.lp-stat-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    transition: all .3s;
}
.lp-stat-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,.08); }
.lp-stat-card .ic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.lp-stat-card .ic.purple { background: var(--purple-bg); color: var(--purple); }
.lp-stat-card .ic.gold { background: rgba(212,165,116,.15); color: #b8844a; }
.lp-stat-card .ic.green { background: rgba(28,200,138,.1); color: var(--success); }
.lp-stat-card .ic.info { background: rgba(54,185,204,.1); color: var(--info); }
.lp-stat-card .num { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); line-height: 1.1; }
.lp-stat-card .lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06rem; font-weight: 600; }

/* ---- About ---- */
.lp-about { background: #fff; }
.lp-about-title { font-size: 2rem; font-weight: 900; color: var(--text-dark); margin-bottom: 1rem; }
.lp-about-lead { font-size: 1rem; color: var(--text-dark); font-weight: 500; line-height: 1.7; margin-bottom: 1.5rem; }
.lp-visi-box {
    background: var(--pramuka-cream);
    border-left: 4px solid var(--purple);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}
.lp-visi-box.gold { border-left-color: var(--pramuka-gold); }
.lp-visi-box .lp-visi-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06rem;
    color: var(--purple);
    margin-bottom: .35rem;
}
.lp-visi-box.gold .lp-visi-label { color: #b8844a; }
.lp-visi-box p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
.lp-mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.lp-mini-stat { text-align: center; padding: 1rem; border-radius: 12px; background: var(--pramuka-cream); }
.lp-mini-stat .num { font-size: 1.5rem; font-weight: 900; color: var(--purple); }
.lp-mini-stat .lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05rem; font-weight: 600; }
.lp-about-visual { position: relative; max-width: 480px; margin: 0 auto; }
.lp-about-panel {
    background: linear-gradient(135deg, var(--purple-bg), var(--pramuka-cream));
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
}
.lp-overlay-card {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: var(--purple);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    max-width: 250px;
    box-shadow: 0 10px 40px rgba(124,58,237,.3);
}
.lp-overlay-card h5 { font-weight: 800; margin-bottom: .5rem; }
.lp-overlay-card p { font-size: .8rem; opacity: .9; }
.lp-overlay-icon { font-size: 2rem; opacity: .3; position: absolute; bottom: 1rem; right: 1rem; }

@media (max-width: 575.98px) {
    .lp-overlay-card { position: static; max-width: none; margin-top: 1rem; }
    .lp-overlay-icon { display: none; }
}

/* ---- Kartu dapat diklik ---- */
.lp-card-link { display: block; text-decoration: none; height: 100%; color: inherit; }
.lp-card-link:hover { text-decoration: none; color: inherit; }

/* ---- Placeholder gambar berita ---- */
.lp-img-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--purple-bg), #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-img-placeholder i { font-size: 3rem; color: var(--purple); opacity: .3; }

/* ---- Empty state ---- */
.lp-empty {
    border: 2px dashed var(--border-light);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    background: rgba(255,255,255,.6);
    font-weight: 600;
}
.lp-empty i { font-size: 2.5rem; color: var(--purple); opacity: .35; }

/* ============================================================
   HEADER PUBLIK — menu aktif & submenu di mode mobile
   ============================================================ */
.site-header .nav-links a.active { color: var(--purple); }
.site-header .nav-links a.active::after { width: 100%; }
/* Di menu mobile, submenu Profil & Lainnya selalu terbuka agar bisa diklik */
@media (max-width: 991.98px) {
    .site-header .nav-links.active .dropdown-menu { display: block; }
}

/* Daftar menu header publik (gaya dipindah dari atribut inline agar menu mobile bekerja) */
.site-header .nav-links .ph-nav-list { display: flex; list-style: none; gap: 2rem; margin: 0; padding: 0; align-items: center; }
@media (max-width: 991.98px) {
    .site-header .nav-links.active .ph-nav-list { display: block; }
    .site-header .nav-links.active .ph-nav-list > li { padding: .45rem 0; }
}

/* ============================================================
   PENGGANTI BAHASA (ID/EN)
   ============================================================ */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: .28rem .7rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04rem;
    white-space: nowrap;
}
.lang-switch a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.lang-switch a:hover { color: var(--purple); }
.lang-switch a.active { color: var(--purple); }
.lang-switch .lang-sep { color: var(--border-light); }
/* varian di atas navbar gelap */
.navbar-dark .lang-switch { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.navbar-dark .lang-switch a { color: rgba(255,255,255,.75); }
.navbar-dark .lang-switch a.active, .navbar-dark .lang-switch a:hover { color: #fff; }
.navbar-dark .lang-switch .lang-sep { color: rgba(255,255,255,.25); }
/* Tombol balas komentar */
.btn-balas {
    background: none;
    border: none;
    color: var(--purple);
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    padding: .3rem .55rem;
    margin-top: .45rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border-radius: 6px;
    transition: background .2s;
}
.btn-balas:hover { background: var(--purple-bg); }

/* ============================================================
   LIGHTBOX GALERI (popup slider)
   ============================================================ */
.lb-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,10,10,.96); z-index: 9999; display: none; flex-direction: column;
}
.lb-overlay.active { display: flex; }
.lb-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0; background: #111;
}
.lb-topbar .lb-info { display: flex; flex-direction: column; gap: .15rem; }
.lb-topbar .lb-title { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 500; }
.lb-topbar .lb-counter { color: rgba(255,255,255,.4); font-size: .75rem; font-variant-numeric: tabular-nums; }
.lb-topbar .lb-close {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06);
    border: none; color: rgba(255,255,255,.6); font-size: 1rem; cursor: pointer;
    transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.lb-topbar .lb-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.lb-main { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 60px; }
.lb-main img {
    max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px;
    user-select: none; -webkit-user-drag: none; pointer-events: none;
    opacity: 0; transition: opacity .3s;
}
.lb-main img.loaded { opacity: 1; }
.lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
    border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.7); font-size: 1.2rem; cursor: pointer; transition: all .2s;
    display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { background: rgba(255,255,255,.2); color: #fff; }
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }
.lb-filmstrip {
    display: flex; gap: 5px; padding: .6rem 1.5rem; overflow-x: auto; overflow-y: hidden;
    border-top: 1px solid rgba(255,255,255,.06); flex-shrink: 0; justify-content: center;
    scrollbar-width: none; background: #111;
}
.lb-filmstrip::-webkit-scrollbar { display: none; }
.lb-filmstrip .fs-thumb {
    width: 48px; height: 48px; border-radius: 4px; object-fit: cover; cursor: pointer;
    opacity: .35; transition: all .2s; flex-shrink: 0; border: 2px solid transparent;
}
.lb-filmstrip .fs-thumb:hover { opacity: .7; }
.lb-filmstrip .fs-thumb.active { opacity: 1; border-color: #7c3aed; }
.lb-watermark {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-25deg);
    font-size: 1.8rem; font-weight: 900; color: rgba(255,255,255,.03); pointer-events: none;
    white-space: nowrap; z-index: 1; text-transform: uppercase; letter-spacing: 6px;
}
@media (max-width: 768px) {
    .lb-main { padding: 0 12px; }
    .lb-nav { width: 38px; height: 38px; font-size: 1rem; }
    .lb-filmstrip { justify-content: flex-start; }
}
