

/* ── 1. GLOBAL ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f5f7fa;
    margin: 0;
    color: #1e293b;
}

.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-main {
    flex: 1 0 auto;
}

.login-container {
    margin-top: 100px;
    max-width: 400px;
}

.vertical-align-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ── 2. USER NAVBAR ─────────────────────────────────────────────── */
.app-navbar {
    z-index: 1030;
    padding: 11px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.055);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.app-navbar-container { max-width: 1440px; }
.app-navbar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    min-width: 0;
}
.app-nav-logo {
    height: 42px;
    width: 42px;
    padding: 4px;
    object-fit: contain;
    border: 1px solid #eef2f7;
    border-radius: 13px;
    background: #fff;
}
.app-nav-name {
    overflow: hidden;
    color: #172033;
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.app-navbar-links { gap: 8px; }
.app-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease;
}
.app-nav-link i { color: #64748b; }
.app-nav-link:hover { background: #f1f5f9; color: #4338ca; }
.app-nav-link:hover i { color: #4f46e5; }
.app-navbar .navbar-toggler {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #334155;
    box-shadow: none;
}
.app-navbar .navbar-toggler:hover { background: #f1f5f9; }
.app-nav-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    transition: all 0.18s ease;
    cursor: pointer;
}
.app-nav-btn-outline:hover { border-color: #c7d2fe; color: #4338ca; background: #f5f3ff; }
.app-nav-user {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 5px 13px 5px 6px;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    background: #fff;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    transition: all 0.18s ease;
}
.app-nav-user:hover,
.app-nav-user.show { border-color: #c7d2fe; background: #f8f7ff; color: #4338ca; }
.app-nav-user img { border: 2px solid #e0e7ff; }
.app-navbar .dropdown-menu {
    min-width: 190px;
    margin-top: 10px;
    padding: 7px;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.app-navbar .dropdown-item { padding: 9px 11px; border-radius: 9px; font-size: 0.88rem; }
.app-navbar .dropdown-item:hover { background: #f1f5f9; }
#contact-section { scroll-margin-top: 90px; }

@media (max-width: 991.98px) {
    .app-navbar .navbar-toggler { display: inline-flex; }
    .app-navbar .navbar-collapse { padding: 12px 2px 4px; }
    .app-navbar-links { align-items: stretch; gap: 5px; }
    .app-navbar-links > .nav-item { width: 100%; }
    .app-nav-link,
    .app-nav-btn-outline,
    .app-nav-user { width: 100%; justify-content: flex-start; }
    .app-nav-btn-outline { border-color: transparent; background: #f8fafc; }
    .app-nav-user { border-color: transparent; background: #f8fafc; }
    .app-navbar .dropdown-menu { margin-top: 5px; }
}

/* ── 3. HERO CAROUSEL ───────────────────────────────────────────── */
.hero-carousel { min-height: 300px; }
.hero-slide { padding: 56px 20px; background: linear-gradient(135deg,#eef2ff 0%,#e0e7ff 100%); }
.hero-title { letter-spacing: -0.5px; line-height: 1.2; }
.carousel-dot {
    width: 10px !important;
    height: 10px !important;
    background-color: #4f46e5 !important;
    opacity: 0.3 !important;
    margin: 0 4px !important;
    border-radius: 50px !important;
}
.carousel-dot.active { width: 26px !important; opacity: 1 !important; }
.hero-search-wrapper { border: 1.5px solid #e5e7eb; }

/* ── 4. PUBLIC SOFTWARE CARDS ───────────────────────────────────── */
.software-welcome-panel {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.software-welcome-panel h4 { color: #172033; letter-spacing: -0.02em; }
.software-welcome-panel p { color: #64748b !important; }
.software-login-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #4f46e5;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.software-login-cta:hover {
    background: #4338ca;
    color: #fff;
    box-shadow: 0 5px 14px rgba(79,70,229,0.2);
    transform: translateY(-1px);
}
.software-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.software-section-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #6366f1;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
}
.software-section-heading h4 { color: #172033; letter-spacing: -0.025em; }
.software-section-heading p { color: #718096 !important; }
.pub-sw-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5eaf1;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15,23,42,0.045);
    position: relative;
}

.pub-sw-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.10);
    border-color: #c7d2fe;
}

.pub-sw-card:hover .pub-sw-title { color: #4338ca; }

.software-image-trigger .pub-sw-thumb-fg,
.software-image-trigger .pub-sw-thumb-bg {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease, opacity 0.45s ease;
}
.pub-sw-card:hover .software-image-trigger .pub-sw-thumb-fg { transform: scale(1.05); }
.pub-sw-card:hover .software-image-trigger .pub-sw-thumb-bg { transform: scale(1.3); filter: blur(22px); opacity: 0.95; }

@keyframes pubCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
#softwareGrid .sw-grid-item { animation: pubCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
#softwareGrid .sw-grid-item:nth-child(1) { animation-delay: 0.03s; }
#softwareGrid .sw-grid-item:nth-child(2) { animation-delay: 0.08s; }
#softwareGrid .sw-grid-item:nth-child(3) { animation-delay: 0.13s; }
#softwareGrid .sw-grid-item:nth-child(4) { animation-delay: 0.18s; }
#softwareGrid .sw-grid-item:nth-child(5) { animation-delay: 0.23s; }
#softwareGrid .sw-grid-item:nth-child(6) { animation-delay: 0.28s; }
#softwareGrid .sw-grid-item:nth-child(7) { animation-delay: 0.33s; }
#softwareGrid .sw-grid-item:nth-child(8) { animation-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) {
    #softwareGrid .sw-grid-item { animation: none; }
    .software-image-trigger .pub-sw-thumb-fg,
    .software-image-trigger .pub-sw-thumb-bg { transition: none; }
}

.pub-sw-thumb {
    width: 100%;
    height: 168px;
    flex: 0 0 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #f6f8ff 0%, #edf1fb 100%);
    overflow: hidden;
}

.software-image-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    overflow: hidden;
}
.pub-sw-thumb-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.2);
    opacity: 0.85;
}
.software-image-trigger .pub-sw-thumb-fg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.software-image-dialog {
    position: fixed;
    max-width: min(96vw, 1400px);
    max-height: 96vh;
    padding: 48px 16px 16px;
    border: 0;
    border-radius: 12px;
    background: #111827;
    overflow: visible;
}
.software-image-dialog::backdrop { background: rgba(0,0,0,0.88); }
.software-image-dialog img {
    display: block;
    max-width: calc(96vw - 32px);
    max-height: calc(96vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
}
.software-image-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.software-image-close:hover { background: rgba(255,255,255,0.28); }
.pub-sw-emoji { font-size: 3rem; }
.pub-sw-initial {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 12px 26px rgba(99, 102, 241, 0.35);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-sw-body { padding: 15px; flex: 1; display: flex; flex-direction: column; border-top: 1px solid #eef2f7; }
.pub-sw-title {
    min-height: 1.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #172033;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}
.pub-sw-desc {
    min-height: 2.4em;
    font-size: 0.79rem;
    color: #718096;
    flex: 1;
    margin-bottom: 0;
    line-height: 1.5;
}
#softwareGrid .pub-sw-body .btn {
    min-height: 36px;
    font-size: 0.78rem;
    font-weight: 600;
}
#softwareGrid .pub-sw-body .btn-primary {
    background: #4f46e5;
    border-color: #4f46e5;
}
#softwareGrid .pub-sw-body .btn-primary:hover {
    background: #4338ca;
    border-color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.3);
}
#softwareGrid .pub-sw-body .btn { border-width: 1.5px; transition: all 0.2s ease; }
#softwareGrid .pub-sw-body .btn-outline-primary { color: #4f46e5; border-color: #c7d2fe; background: #fff; }
#softwareGrid .pub-sw-body .btn-outline-primary:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}
#softwareGrid .pub-sw-body .btn-outline-secondary { color: #475569; border-color: #dbe2ea; background: #fff; }
#softwareGrid .pub-sw-body .btn-outline-secondary:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(30, 41, 59, 0.22);
}

.promo-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.82); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pub-sw-card:hover .promo-glass-overlay {
    opacity: 1;
    visibility: visible;
}

.promo-glass-overlay .animate-content {
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.pub-sw-card:hover .promo-glass-overlay .animate-content {
    transform: translateY(0);
}

.text-line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes pulseGlow {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}
.pulse-badge {
    animation: pulseGlow 2s infinite ease-in-out;
    display: inline-block;
}

.btn-get-promo {
    font-size: 0.8rem;
    transition: all 0.2s ease;
    background-color: #dc3545;
    color: #fff;
}
.btn-get-promo:hover {
    transform: scale(1.05);
    background-color: #bd2130;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
/* ── 5. FOOTER ──────────────────────────────────────────────────── */
.app-footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    margin-top: auto !important;
}

/* ── 6. LOGIN ───────────────────────────────────────────────────── */
.vertical-align-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.card { border: none; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.card-title { font-weight: 700; color: #4f46e5; }
.footer-text { color: #9ca3af; font-size: 0.85rem; }

/* ── 7. MODERN UPGRADES (PROFESSIONAL LOOK) ────────────────────── */

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

body {
    font-family: 'Segoe UI', 'Noto Sans Myanmar', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(900px 320px at 15% -80px, rgba(99, 102, 241, 0.07), transparent 70%),
        radial-gradient(900px 320px at 85% -80px, rgba(16, 185, 129, 0.06), transparent 70%),
        #f8fafc;
}

.hero-slide {
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 50%, #ffffff 100%) !important; 
    padding: 70px 20px !important;
}

.hero-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -1px !important;
}

.hero-carousel p.lead {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #475569 !important;
}

.carousel-dot {
    background-color: #4f46e5 !important;
    transition: all 0.3s ease-in-out !important;
}
.carousel-dot.active {
    background-color: #4f46e5 !important;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
}

.hero-search-wrapper {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.15) !important;
    background: #ffffff;
}

.bg-light.shadow-sm {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
    padding: 1.75rem !important;
}

.bg-light.shadow-sm h4 {
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bg-light.shadow-sm p.text-muted {
    font-size: 0.85rem !important;
    color: #64748b !important;
}

.btn-primary.rounded-pill {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-primary.rounded-pill:hover {
    background: #4338ca !important;
    border-color: #4338ca !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

.carousel-indicators [data-bs-target] {
    border: none !important;
    background-clip: padding-box !important;
}

.carousel-dot {
    width: 8px !important;
    height: 8px !important;
    margin: 0 5px !important;
    background-color: #4f46e5 !important;
    opacity: 0.3 !important;
    border-radius: 50% !important;
}

.carousel-dot.active {
    width: 20px !important;
    height: 8px !important;
    border-radius: 50px !important;
    opacity: 1 !important;
}

.no-software-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1; /* အစက်ကလေးတွေနဲ့ ဘောင်ခတ်တာက Modern ဖြစ်ပါတယ် */
    border-radius: 16px;
    padding: 60px 20px !important;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

/* ================================================================
   DEVELOPER PORTAL — FULL WHITE THEME
   ================================================================ */

/* ── 7. LAYOUT ──────────────────────────────────────────────────── */
.dev-layout-body { background: #f5f7fa; margin: 0; padding: 0; overflow-x: hidden; }
.dev-wrapper { display: flex; min-height: 100vh; }

/* ── 8. SIDEBAR (white) ─────────────────────────────────────────── */
.dev-sidebar {
    width: 258px;
    min-height: 100vh;
    background: #ffffff;
    border-right: 1px solid #e5e9f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 1000;
    transition: width 0.28s ease;
    overflow: hidden;
    box-shadow: 2px 0 12px rgba(0,0,0,0.05);
}
.dev-sidebar.collapsed { width: 64px; }
.dev-sidebar.collapsed .dev-sidebar-brand,
.dev-sidebar.collapsed .dev-nav-item span,
.dev-sidebar.collapsed .dev-nav-group-toggle span,
.dev-sidebar.collapsed .dev-nav-arrow,
.dev-sidebar.collapsed .dev-nav-submenu,
.dev-sidebar.collapsed .dev-sidebar-footer { display: none; }

/* Header */
.dev-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    border-bottom: 1px solid #f0f2f7;
}
.dev-sidebar-logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; border-radius: 8px; }
.dev-sidebar-brand { font-size: 1rem; font-weight: 700; color: #1e293b; white-space: nowrap; }

/* Nav scroll area */
.dev-sidebar-nav { flex: 1; padding: 10px 8px; overflow-y: auto; overflow-x: hidden; }
.dev-sidebar-nav::-webkit-scrollbar { width: 3px; }
.dev-sidebar-nav::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 3px; }

/* Nav items */
.dev-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.18s ease;
    white-space: nowrap;
    margin-bottom: 2px;
}
.dev-nav-item:hover { background: #f1f5f9; color: #1e293b; }
.dev-nav-item.active { background: #eef2ff; color: #4f46e5; font-weight: 600; }
.dev-nav-item.active .dev-nav-icon { color: #4f46e5; }

.dev-nav-icon { font-size: 0.88rem; width: 16px; text-align: center; flex-shrink: 0; color: #94a3b8; }
.dev-nav-section { margin-bottom: 2px; }

/* Collapsible group */
.dev-nav-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    margin-bottom: 2px;
}
.dev-nav-group-toggle:hover { background: #f1f5f9; color: #1e293b; }
.dev-nav-group-toggle.active,
.dev-nav-group-toggle.open { background: #eef2ff; color: #4f46e5; font-weight: 600; }
.dev-nav-arrow { font-size: 0.6rem; transition: transform 0.25s ease; flex-shrink: 0; color: #94a3b8; }
.dev-nav-group-toggle.open .dev-nav-arrow { transform: rotate(180deg); }

.dev-nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 2px;
}
.dev-nav-submenu.open { max-height: 200px; }

.dev-nav-subitem {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 36px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.15s ease;
    border-radius: 8px;
    white-space: nowrap;
}
.dev-nav-subitem:hover { color: #4f46e5; background: #eef2ff; }
.dev-nav-subitem.active { color: #4f46e5; font-weight: 600; }
.dev-subnav-icon { font-size: 0.7rem; width: 12px; text-align: center; flex-shrink: 0; }

/* Section label */
.dev-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 14px 6px;
}

/* Footer */
.dev-sidebar-footer { padding: 12px 8px; border-top: 1px solid #f0f2f7; }
.dev-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 10px;
    color: #e11d48;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: left;
}
.dev-logout-btn:hover { background: #ffe4e6; border-color: #fda4af; }

/* ── 9. TOPBAR (white) ──────────────────────────────────────────── */
.dev-main-wrap {
    margin-left: 258px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.28s ease;
}
.dev-main-wrap.sidebar-collapsed { margin-left: 64px; }

.dev-topbar {
    background: #fff;
    border-bottom: 1px solid #e5e9f0;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.dev-sidebar-toggle {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    padding: 7px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.dev-sidebar-toggle:hover { background: #e2e8f0; color: #1e293b; }

.dev-topbar-right { display: flex; align-items: center; gap: 14px; }
.dev-topbar-user {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 50px;
}

/* ── 10. CONTENT AREA ───────────────────────────────────────────── */
.dev-content-area { padding: 30px; flex: 1; background: #f5f7fa; }
.dev-alert { border-radius: 12px; border: none; margin-bottom: 20px; }

/* ── 11. PAGE HEADER ────────────────────────────────────────────── */
.dev-page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.dev-page-title { font-size: 1.3rem; font-weight: 700; color: #1e293b; margin: 0; }
.dev-page-subtitle { font-size: 0.8rem; color: #94a3b8; margin-top: 4px; margin-bottom: 0; }

/* ── 12. BUTTONS ────────────────────────────────────────────────── */
.dev-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.dev-btn-primary:hover { background: #4338ca; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(79,70,229,0.35); }

.dev-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.dev-btn-secondary:hover { background: #e2e8f0; color: #1e293b; }

.dev-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #fff1f2;
    color: #e11d48;
    border: 1.5px solid #fecdd3;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
}
.dev-btn-danger:hover { background: #ffe4e6; }

/* ── 13. CARDS ──────────────────────────────────────────────────── */
.dev-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
}
.dev-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e9f0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dev-card-title { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin: 0; }
.dev-card-subtitle { font-size: 0.78rem; color: #94a3b8; margin-top: 3px; }
.dev-card-body { padding: 20px; }

/* ── 14. FORM ───────────────────────────────────────────────────── */
.dev-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.dev-form-label { font-size: 0.8rem; font-weight: 700; color: #374151; margin-bottom: 7px; display: block; }
.dev-form-hint  { font-size: 0.74rem; color: #94a3b8; margin-top: 4px; }
.dev-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    display: block;
    transition: all 0.2s ease;
}
.dev-form-input:focus { border-color: #4f46e5; background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.dev-form-input.is-invalid { border-color: #f43f5e; }
select.dev-form-input option { background: #fff; color: #1e293b; }
.dev-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f2f7;
}

/* ── 15. STATS ROW ──────────────────────────────────────────────── */
.dev-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.dev-stat-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e9f0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dev-stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.dev-stat-icon-blue   { background: #eef2ff; color: #4f46e5; }
.dev-stat-icon-green  { background: #f0fdf4; color: #16a34a; }
.dev-stat-icon-orange { background: #fff7ed; color: #ea580c; }
.dev-stat-icon-red    { background: #fff1f2; color: #e11d48; }
.dev-stat-num { font-size: 1.5rem; font-weight: 800; color: #1e293b; line-height: 1; }
.dev-stat-label { font-size: 0.75rem; color: #94a3b8; margin-top: 2px; font-weight: 600; }

/* ── 16. TABLE ──────────────────────────────────────────────────── */
.dev-table { font-size: 0.875rem; color: #374151; width: 100%; border-collapse: collapse; }
.dev-table thead th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e9f0;
    padding: 12px 16px;
    white-space: nowrap;
}
.dev-table tbody td { padding: 13px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.dev-table tbody tr:hover { background: #fafbfe; }
.dev-table tbody tr:last-child td { border-bottom: none; }

/* ── 17. BADGES ─────────────────────────────────────────────────── */
.badge-active   { background:#f0fdf4; color:#16a34a; border:1px solid #bbf7d0; border-radius:50px; padding:3px 10px; font-size:0.72rem; font-weight:700; }
.badge-inactive { background:#f8fafc; color:#94a3b8; border:1px solid #e2e8f0; border-radius:50px; padding:3px 10px; font-size:0.72rem; font-weight:700; }
.badge-pending  { background:#fffbeb; color:#d97706; border:1px solid #fde68a; border-radius:50px; padding:3px 10px; font-size:0.72rem; font-weight:700; }
.badge-discount { background:#eef2ff; color:#4f46e5; border:1px solid #c7d2fe; border-radius:50px; padding:3px 10px; font-size:0.72rem; font-weight:700; }

/* ── 18. SOFTWARE LIST (drag & drop) ────────────────────────────── */
.sw-list { display: flex; flex-direction: column; gap: 6px; }
.software-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 16px;
    background: #fafbfc;
    border: 1.5px solid #e5e9f0;
    border-radius: 12px;
    cursor: grab;
    transition: all 0.15s ease;
    position: relative;
}
.software-item:hover { border-color: #c7d2fe; background: #fafafe; box-shadow: 0 2px 10px rgba(79,70,229,0.1); transform: translateY(-1px); }
.software-item:active { cursor: grabbing; }
.sortable-ghost { opacity: 0.35; border: 2px dashed #c7d2fe !important; background: #eef2ff !important; }
.sw-grip { color: #cbd5e1; font-size: 0.9rem; flex-shrink: 0; }
.software-item:hover .sw-grip { color: #94a3b8; }

.sw-logo-slot {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    position: relative;
}
.sw-logo-slot > .sw-logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.sw-logo-slot > .sw-logo-initial {
    width: 100%;
    height: 100%;
}
.sw-logo-img   { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; border: 1px solid #e5e9f0; flex-shrink: 0; }
.sw-logo-initial {
    width: 46px; height: 46px;
    border-radius: 12px;
    font-size: 1rem; font-weight: 800;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.sw-logo-emoji { width: 46px; height: 46px; font-size: 1.8rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

.sw-info   { flex: 1; min-width: 0; }
.sw-name   { font-weight: 700; font-size: 0.9rem; color: #1e293b; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-order  { font-size: 0.75rem; color: #94a3b8; }

.sw-badge          { border-radius: 50px; padding: 3px 10px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.sw-badge-active   { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.sw-badge-inactive { background: #f8fafc; color: #94a3b8; border: 1px solid #e2e8f0; }
.sw-dot            { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.sw-dot-active     { background: #22c55e; animation: sw-pulse 2s infinite; }
.sw-dot-inactive   { background: #cbd5e1; }
@keyframes sw-pulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,.6)} 70%{box-shadow:0 0 0 7px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }

.sw-actions { display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.15s ease; flex-shrink: 0; }
.software-item:hover .sw-actions { opacity: 1; }
.sw-btn-edit, .sw-btn-delete {
    width: 32px; height: 32px;
    border-radius: 8px; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    background: transparent;
}
.sw-btn-edit   { color: #6366f1; }
.sw-btn-edit:hover   { background: #eef2ff; color: #4f46e5; }
.sw-btn-delete { color: #cbd5e1; }
.sw-btn-delete:hover { background: #fff1f2; color: #e11d48; }

/* ── 19. HUB DASHBOARD ──────────────────────────────────────────── */
.dev-hub-wrap {
    min-height: calc(100vh - 62px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: #f5f7fa;
}
.dev-hub-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
    max-width: 1180px;
}

/* Side grid */
.dev-hub-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Hub card */
.dev-hub-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 5 / 6;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.dev-hub-card:hover { transform: translateY(-9px) scale(1.04); box-shadow: 0 24px 56px rgba(0,0,0,0.18); z-index: 5; }
.dev-hub-card-bg { position: absolute; inset: 0; border-radius: inherit; }
.dev-hub-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 25% 20%, rgba(255,255,255,0.25) 0%, transparent 60%);
}

/* LEFT colours */
.dev-hub-card-left-0 .dev-hub-card-bg  { background: linear-gradient(145deg,#1d4ed8,#60a5fa); }
.dev-hub-card-left-1 .dev-hub-card-bg  { background: linear-gradient(145deg,#9d174d,#f472b6); }
.dev-hub-card-left-2 .dev-hub-card-bg  { background: linear-gradient(145deg,#5b21b6,#a78bfa); }
.dev-hub-card-left-3 .dev-hub-card-bg  { background: linear-gradient(145deg,#065f46,#34d399); }
/* RIGHT colours */
.dev-hub-card-right-0 .dev-hub-card-bg { background: linear-gradient(145deg,#92400e,#fbbf24); }
.dev-hub-card-right-1 .dev-hub-card-bg { background: linear-gradient(145deg,#166534,#4ade80); }
.dev-hub-card-right-2 .dev-hub-card-bg { background: linear-gradient(145deg,#9a3412,#fb923c); }
.dev-hub-card-right-3 .dev-hub-card-bg { background: linear-gradient(145deg,#075985,#38bdf8); }

.dev-hub-card-content {
    position: relative;
    z-index: 2;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.dev-hub-thumb {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    min-height: 0;
}
.dev-hub-thumb img  { width: 100%; height: 100%; object-fit: contain; display: block; }
.dev-hub-emoji      { font-size: 2.6rem; }
.dev-hub-initial    { font-size: 2.2rem; font-weight: 900; color: rgba(255,255,255,0.9); text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.dev-hub-info h6    { margin: 0 0 3px; font-size: 0.875rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.dev-hub-info small { font-size: 0.73rem; color: rgba(255,255,255,0.72); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dev-hub-empty {
    grid-column: span 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 22px;
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
}

/* Hub Center */
.dev-hub-center { text-align: center; padding: 20px; min-width: 220px; }
.dev-hub-logo { width: 250px; height: auto; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 6px 16px rgba(79,70,229,0.15)); }
.dev-hub-title { font-size: 1.5rem; font-weight: 800; color: #1e293b; margin: 0 0 5px; letter-spacing: -0.4px; }
.dev-hub-sub   { font-size: 0.78rem; color: #94a3b8; margin-bottom: 18px; }
.dev-hub-stats {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}
.dev-hub-stat         { display: flex; flex-direction: column; align-items: center; }
.dev-hub-stat-num     { font-size: 1.7rem; font-weight: 800; color: #4f46e5; line-height: 1; }
.dev-hub-stat-label   { font-size: 0.71rem; color: #94a3b8; margin-top: 3px; font-weight: 600; }
.dev-hub-stat-divider { width: 1px; height: 36px; background: #e5e9f0; }
.dev-hub-actions      { display: flex; gap: 10px; justify-content: center; }
.dev-hub-action-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.78rem; font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.dev-hub-action-btn:hover { background: #4f46e5; border-color: #4f46e5; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(79,70,229,0.3); }

/* ── 20. MISC ───────────────────────────────────────────────────── */
.sticky-sidebar { position: sticky; top: 24px; }
.empty-state { text-align: center; padding: 60px 20px; color: #94a3b8; }
.empty-state i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; display: block; }
.empty-state p { margin: 0 0 16px; }

/* ── 21. DEVELOPER RESPONSIVE LAYOUT ───────────────────────────── */
.dev-sidebar-backdrop { display: none; }

@media (max-width: 1199.98px) {
    .dev-hub-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .dev-hub-center { order: -1; min-width: 0; }
    .dev-hub-side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dev-hub-card { aspect-ratio: 1 / 1; }
}

@media (max-width: 767.98px) {
    .dev-sidebar {
        width: min(280px, calc(100vw - 56px));
        transform: translateX(-100%);
        transition: transform 0.28s ease;
    }

    .dev-sidebar.collapsed { width: min(280px, calc(100vw - 56px)); }
    .dev-sidebar.mobile-open { transform: translateX(0); }
    .dev-sidebar.collapsed .dev-sidebar-brand,
    .dev-sidebar.collapsed .dev-nav-item span,
    .dev-sidebar.collapsed .dev-nav-group-toggle span,
    .dev-sidebar.collapsed .dev-nav-arrow,
    .dev-sidebar.collapsed .dev-nav-submenu,
    .dev-sidebar.collapsed .dev-sidebar-footer { display: initial; }
    .dev-sidebar.collapsed .dev-sidebar-footer { display: block; }
    .dev-sidebar.collapsed .dev-nav-submenu { display: block; }

    .dev-sidebar-backdrop.show {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        border: 0;
        background: rgba(15, 23, 42, 0.4);
    }

    .dev-main-wrap,
    .dev-main-wrap.sidebar-collapsed {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .dev-topbar { padding: 10px 14px; }
    .dev-topbar-right { gap: 8px !important; }
    .dev-topbar-user { padding: 6px 10px; font-size: 0.78rem; }
    .dev-content-area { min-width: 0; padding: 18px 14px; }

    .dev-page-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .dev-page-header > :last-child { max-width: 100%; }
    .dev-page-title { font-size: 1.15rem; }
    .dev-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .dev-stat-card { gap: 8px; padding: 12px 10px; }
    .dev-stat-icon { width: 36px; height: 36px; }
    .dev-stat-num { font-size: 1.25rem; }
    .dev-stat-label { font-size: 0.7rem; }

    .dev-card,
    .dev-form-card,
    .sw-card { min-width: 0; max-width: 100%; }

    .dev-card-body { min-width: 0; max-width: 100%; }
    .dev-card-body > .table-responsive {
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .dev-form-card { padding: 18px 14px; }
    .dev-form-actions { flex-wrap: wrap; }
    .dev-form-actions > * { flex: 1 1 auto; }

    .software-item { flex-wrap: wrap; gap: 8px; padding: 12px; }
    .sw-info { flex-basis: calc(100% - 80px); }
    .sw-actions { margin-left: auto; opacity: 1; }

    .dev-hub-wrap { min-height: 0; padding: 20px 14px; }
    .dev-hub-inner { gap: 16px; }
    .dev-hub-center { padding: 12px 0; }
    .dev-hub-logo { width: min(220px, 70vw); }
    .dev-hub-stats { gap: 12px; padding: 12px 16px; }
    .dev-hub-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dev-hub-card { border-radius: 14px; }
}

/* ── HERO SLIDE IMAGES ───────────────────────────────────────────── */
.hero-carousel .hero-slide {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    padding: 48px 20px 64px !important;
    background: linear-gradient(120deg, #111827, #334155) !important;
}

.hero-slide-background,
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-background {
    z-index: 0;
    object-fit: cover;
    object-position: center;
    opacity: 0;
}

.hero-slide-background.hero-slide-image-loaded {
    opacity: 1;
}

.hero-slide-artwork .hero-slide-background {
    inset: 50% 7% auto auto;
    width: min(42%, 500px);
    height: 78%;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
}

.hero-slide-artwork .hero-slide-overlay {
    background: linear-gradient(90deg, #111827 0%, #1e293b 42%, rgba(30, 41, 59, 0.2) 64%, transparent 76%);
}

.hero-slide-overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 15, 30, 0.88) 0%, rgba(10, 15, 30, 0.68) 48%, rgba(10, 15, 30, 0.18) 100%);
}

.hero-slide-container {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: inherit;
    align-items: center;
}

.hero-slide-content {
    max-width: 760px;
    text-align: left;
}

.hero-slide-artwork .hero-slide-content {
    max-width: 58%;
}

.hero-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-carousel .hero-title {
    max-width: 720px;
    margin-bottom: 14px !important;
    color: #fff !important;
    font-size: clamp(2rem, 4.2vw, 3.35rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.08 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-slide-description {
    max-width: 620px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 19px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slide-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    color: #4f46e5;
}

.hero-slide-indicators {
    z-index: 3;
    margin-bottom: 14px;
}

.hero-slide-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    opacity: 0.5;
}

.hero-slide-indicators .active {
    width: 42px;
    opacity: 1;
}

.hero-slide-image-preview {
    width: 100%;
    height: 180px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    object-fit: contain;
}

.hero-slide-control {
    z-index: 3;
    width: 7%;
}

@media (max-width: 767.98px) {
    .app-navbar { padding: 8px 0; }
    .app-navbar-container { padding-right: 16px; padding-left: 16px; }
    .app-nav-logo { width: 38px; height: 38px; border-radius: 11px; }
    .app-nav-name { max-width: min(52vw, 240px); font-size: 0.96rem; }
    .hero-carousel .hero-slide {
        min-height: 330px;
        padding: 42px 8px 68px !important;
    }

    .hero-slide-overlay {
        background: linear-gradient(90deg, rgba(10, 15, 30, 0.84), rgba(10, 15, 30, 0.58));
    }

    .hero-slide-description {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .hero-slide-artwork .hero-slide-background {
        inset: 18px 50% auto auto;
        width: min(70%, 250px);
        height: 112px;
        transform: translateX(50%);
    }

    .hero-slide-artwork .hero-slide-content {
        max-width: 100%;
        padding-top: 122px;
        text-align: center;
    }

    .hero-slide-artwork .hero-title,
    .hero-slide-artwork .hero-slide-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-slide-control {
        width: 12%;
    }
}
