/* =====================================================
   BRODI PUBLIC CSS — Halaman Publik Sebelum Login
   ===================================================== */

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

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --success: #10B981;
    --danger: #EF4444;
    --dark: #0F172A;
    --dark-2: #1E293B;
    --dark-3: #334155;
    --text: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --grad-main: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0ea5e9 100%);
    --grad-accent: linear-gradient(135deg, #F59E0B, #EF4444);
    --grad-card: linear-gradient(135deg, #1e293b, #0f172a);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.pub-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: .875rem 0;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.pub-navbar.scrolled {
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-md);
}

.pub-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pub-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.pub-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.pub-logo-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.pub-logo-sub {
    display: block;
    font-size: .7rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: .05em;
}

.pub-nav-desktop {
    display: flex;
    list-style: none;
    gap: .25rem;
    align-items: center;
}

.pub-nav-link {
    display: block;
    padding: .5rem .875rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: .9375rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.pub-nav-link:hover,
.pub-nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.pub-nav-cta {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.pub-hamburger {
    display: none;
}

.pub-nav-mobile {
    display: none;
}

.pub-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.pub-btn-primary {
    background: var(--grad-main);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, .3);
}

.pub-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .4);
}

.pub-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.pub-btn-outline:hover {
    background: var(--primary-light);
}

.pub-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .25rem;
}

.pub-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.pub-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pub-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.pub-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   HERO
   ===================================================== */
.pub-hero {
    min-height: 100vh;
    background: var(--grad-main);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 7rem 1.5rem 5rem;
}

.pub-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pub-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
}

.pub-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: #60a5fa;
    top: -100px;
    right: -100px;
    animation: floatOrb 10s ease-in-out infinite;
}

.pub-hero-orb-2 {
    width: 350px;
    height: 350px;
    background: #f59e0b;
    bottom: -50px;
    left: -50px;
    animation: floatOrb 14s ease-in-out infinite reverse;
}

.pub-hero-orb-3 {
    width: 250px;
    height: 250px;
    background: #10b981;
    top: 40%;
    left: 40%;
    animation: floatOrb 8s ease-in-out infinite;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-30px) scale(1.05)
    }
}

.pub-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    color: white;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pub-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.3)
    }
}

.pub-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.pub-hero-title span {
    color: var(--accent);
}

.pub-hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.pub-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pub-btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    font-weight: 700;
}

.pub-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.pub-btn-ghost-white {
    background: rgba(255, 255, 255, .15);
    color: white;
    border: 2px solid rgba(255, 255, 255, .5);
}

.pub-btn-ghost-white:hover {
    background: rgba(255, 255, 255, .25);
}

.pub-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pub-hero-stat {
    text-align: center;
}

.pub-hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.pub-hero-stat-label {
    font-size: .8125rem;
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
}

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

.pub-hero-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    animation: fadeInRight .8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.pub-hero-card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.pub-hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.pub-hero-card-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.pub-hero-card-sub {
    color: rgba(255, 255, 255, .6);
    font-size: .8125rem;
}

.pub-app-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.pub-app-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.pub-app-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pub-app-item-name {
    color: white;
    font-weight: 600;
    font-size: .875rem;
}

.pub-app-item-desc {
    color: rgba(255, 255, 255, .5);
    font-size: .75rem;
}

.pub-app-item-status {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

/* =====================================================
   SECTION GENERICS
   ===================================================== */
.pub-section {
    padding: 5rem 0;
}

.pub-section-alt {
    background: white;
}

.pub-section-dark {
    background: var(--dark);
}

.pub-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.pub-section-badge {
    display: inline-block;
    padding: .3rem .875rem;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pub-section-badge.dark {
    background: rgba(37, 99, 235, .2);
    color: #93c5fd;
}

.pub-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: .75rem;
}

.pub-section-title.white {
    color: white;
}

.pub-section-desc {
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

.pub-section-desc.white {
    color: rgba(255, 255, 255, .7);
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */
.pub-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pub-feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pub-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.pub-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.pub-feature-card:hover::before {
    transform: scaleX(1);
}

.pub-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--primary-light);
}

.pub-feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
}

.pub-feature-desc {
    color: var(--text-muted);
    font-size: .9375rem;
    line-height: 1.7;
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.pub-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.pub-stat-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.pub-stat-card:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-4px);
}

.pub-stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: .5rem;
}

.pub-stat-num span {
    font-size: 1.5rem;
}

.pub-stat-label {
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
    font-size: .9375rem;
}

.pub-stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* =====================================================
   STATS BARS
   ===================================================== */
.pub-stats-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pub-stats-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.pub-stats-panel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pub-bar-item {
    margin-bottom: 1.25rem;
}

.pub-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: .35rem;
}

.pub-bar-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
}

.pub-bar-value {
    font-size: .875rem;
    font-weight: 700;
    color: var(--primary);
}

.pub-bar-track {
    height: 8px;
    background: var(--border);
    border-radius: 50px;
    overflow: hidden;
}

.pub-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--grad-main);
    transition: width 1.5s cubic-bezier(.4, 0, .2, 1);
    width: 0;
}

.pub-bar-fill.accent {
    background: var(--grad-accent);
}

.visible .pub-bar-fill {
    width: var(--bar-width);
}

/* =====================================================
   TEAM
   ===================================================== */
.pub-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pub-team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.pub-team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pub-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    background: var(--grad-main);
}

.pub-team-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .25rem;
}

.pub-team-role {
    font-size: .875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: .5rem;
}

.pub-team-nip {
    font-size: .8125rem;
    color: var(--text-muted);
}

.pub-team-unit {
    display: inline-block;
    margin-top: .75rem;
    padding: .25rem .75rem;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
}

/* =====================================================
   GUIDE / PANDUAN
   ===================================================== */
.pub-guide-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.pub-guide-nav {
    position: sticky;
    top: 6rem;
}

.pub-guide-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: .25rem;
    border: 2px solid transparent;
    text-decoration: none;
}

.pub-guide-nav-item.active,
.pub-guide-nav-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.pub-guide-nav-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pub-guide-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pub-guide-step {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    scroll-margin-top: 7rem;
}

.pub-guide-step:hover {
    box-shadow: var(--shadow-md);
}

.pub-guide-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pub-guide-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.pub-guide-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
}

.pub-guide-step-body {
    color: var(--text-muted);
    line-height: 1.8;
}

.pub-guide-step-body ul {
    margin: .75rem 0 .75rem 1.5rem;
}

.pub-guide-step-body li {
    margin-bottom: .35rem;
}

.pub-guide-tip {
    margin-top: 1rem;
    padding: .875rem 1rem;
    background: var(--primary-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    font-size: .875rem;
    color: var(--primary-dark);
}

/* =====================================================
   PAGE HERO (non-home)
   ===================================================== */
.pub-page-hero {
    background: var(--grad-main);
    padding: 9rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pub-page-hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: white;
    margin-bottom: .75rem;
}

.pub-page-hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .8);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.pub-cta {
    background: var(--grad-main);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pub-cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.pub-cta-desc {
    color: rgba(255, 255, 255, .85);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.pub-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.pub-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pub-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.pub-footer-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pub-footer-brand p {
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: .5rem;
}

.pub-footer-org {
    font-size: .8rem !important;
    color: rgba(255, 255, 255, .4) !important;
}

.pub-footer-col h4 {
    font-size: .9375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .9);
}

.pub-footer-col a {
    display: block;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .9rem;
    margin-bottom: .5rem;
    transition: color .2s;
}

.pub-footer-col a:hover {
    color: white;
}

.pub-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.pub-footer-bottom p {
    color: rgba(255, 255, 255, .4);
    font-size: .8125rem;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-delay-1 {
    transition-delay: .1s;
}

.anim-delay-2 {
    transition-delay: .2s;
}

.anim-delay-3 {
    transition-delay: .3s;
}

.anim-delay-4 {
    transition-delay: .4s;
}

.anim-delay-5 {
    transition-delay: .5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-in-up {
    animation: fadeInUp .8s ease forwards;
}

.fade-in-up-d1 {
    animation-delay: .1s;
    opacity: 0;
}

.fade-in-up-d2 {
    animation-delay: .2s;
    opacity: 0;
}

.fade-in-up-d3 {
    animation-delay: .3s;
    opacity: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media(max-width:1024px) {
    .pub-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pub-hero-visual {
        display: none;
    }

    .pub-hero-btns {
        justify-content: center;
    }

    .pub-hero-stats {
        justify-content: center;
    }

    .pub-stats-two-col {
        grid-template-columns: 1fr;
    }

    .pub-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pub-guide-grid {
        grid-template-columns: 1fr;
    }

    .pub-guide-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }
}

@media(max-width:768px) {
    /* Hide desktop menu */
    .pub-nav-desktop { display: none !important; }

    /* Backdrop overlay */
    .pub-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 1100; /* Di atas navbar */
        backdrop-filter: blur(4px);
    }
    .pub-nav-overlay.open { display: block; }

    /* Side drawer mobile */
    .pub-nav-mobile {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 1.25rem 2rem;
        gap: .25rem;
        z-index: 1200; /* Di atas overlay */
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.4, 0, .2, 1);
        list-style: none;
    }
    .pub-nav-mobile.open {
        transform: translateX(0);
    }

    /* Link di menu mobile */
    .pub-nav-mobile .pub-nav-link {
        font-size: 1.0625rem;
        padding: .875rem 1rem;
        border-radius: 10px;
        font-weight: 600;
        color: var(--text);
    }
    .pub-nav-mobile .pub-nav-link:hover, 
    .pub-nav-mobile .pub-nav-link.active {
        background: var(--primary-light);
        color: var(--primary);
    }

    .pub-hamburger {
        display: flex;
    }

    /* Navbar inner: kompak tapi tidak sempit */
    .pub-nav-inner {
        padding: 0 1rem;
        gap: .5rem;
    }

    /* Logo sedikit lebih kecil */
    .pub-logo-img { width: 32px; height: 32px; }
    .pub-logo-title { font-size: 1.0625rem; }
    .pub-logo-sub { font-size: .625rem; }

    /* Tombol Masuk/Dashboard: TETAP TAMPIL, tapi lebih compact */
    .pub-nav-cta .pub-btn {
        padding: .45rem .875rem;
        font-size: .8125rem;
        gap: .3rem;
    }
    .pub-nav-cta .pub-btn svg {
        width: 13px;
        height: 13px;
    }

    /* Section & teks */
    .pub-hero-title { font-size: 2.25rem; }
    .pub-hero-desc { font-size: 1rem; }
    .pub-hero-stats { gap: 1.5rem; margin-top: 2rem; }
    .pub-hero-stat-num { font-size: 1.75rem; }

    .pub-section { padding: 3.5rem 0; }
    .pub-section-header { margin-bottom: 2.5rem; }
    .pub-section-title { font-size: 1.75rem; }
    .pub-section-desc { font-size: 1rem; }

    .pub-page-hero { padding: 6.5rem 1.25rem 3rem; }
    .pub-page-hero-title { font-size: 2rem; }
    .pub-page-hero-desc { font-size: 1rem; }

    .pub-features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .pub-feature-card { padding: 1.5rem; }

    .pub-team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .pub-team-card { padding: 1.25rem .875rem; }
    .pub-team-avatar { width: 60px; height: 60px; font-size: 1.375rem; }
    .pub-team-name { font-size: .9375rem; }
    .pub-team-role { font-size: .8125rem; }

    .pub-stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .pub-stat-card { padding: 1.5rem 1rem; }
    .pub-stat-num { font-size: 2.25rem; }

    .pub-cta { padding: 3.5rem 1.25rem; }
    .pub-cta-title { font-size: 1.75rem; }
    .pub-cta-desc { font-size: 1rem; }
    .pub-cta-btns { flex-direction: column; align-items: center; }
    .pub-cta-btns .pub-btn { width: 100%; max-width: 280px; justify-content: center; }

    .pub-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pub-footer-bottom { flex-direction: column; text-align: center; }
}

@media(max-width:480px) {
    .pub-hero-stats {
        gap: 1.25rem;
    }

    .pub-team-grid {
        grid-template-columns: 1fr;
    }

    .pub-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── CHATBOT ASSISTANT ── */
.bubble-user {
    background: var(--grad-main);
    color: white;
    box-shadow: 0 4px 15px rgba(37,99,235,0.2);
}
.bubble-bot {
    background: #f8fafc;
    color: var(--dark);
    border: 1px solid var(--border);
}
.chat-input {
    width: 100%;
    padding: .875rem 3.5rem .875rem 1.25rem;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    font-size: .9375rem;
    font-weight: 500;
    transition: var(--transition);
    outline: none;
}
.chat-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}
.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
@media(max-width:480px) {
    .chatbot-window {
        width: calc(100vw - 32px) !important;
        right: -16px !important;
    }
}