.home-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(12, 18, 32, .82);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.home-topbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (min-width: 992px) {
    .home-topbar-inner {
        width: min(1400px, calc(100% - 32px));
    }
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    flex: 0 0 auto;
}

.home-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--home-primary), #62b3ff);
    box-shadow: 0 12px 24px rgba(31, 140, 235, .34);
}

.home-brand-text strong,
.home-brand-text small {
    display: block;
}

.home-brand-text small {
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    letter-spacing: .12em;
}

.home-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
}

.home-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.home-nav {
    flex: 1;
}

.home-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.home-nav-list > li {
    position: relative;
}

.home-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    color: rgba(255,255,255,.92);
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}

.home-nav-list > li.is-active > a,
.home-nav-list > li > a:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.home-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    min-width: 180px;
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 16px;
    background: rgba(9, 15, 28, .95);
    box-shadow: var(--home-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.home-nav-list > li.has-dropdown:hover .home-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.home-dropdown li {
    position: relative;
}

.home-subdropdown {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    min-width: 180px;
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 16px;
    background: rgba(9, 15, 28, .95);
    box-shadow: var(--home-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: .2s ease;
}

.home-dropdown li.has-subdropdown:hover .home-subdropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.home-dropdown a {
    display: block;
    padding: 10px 12px;
    color: rgba(255,255,255,.88);
    border-radius: 10px;
}

.home-dropdown a:hover {
    background: rgba(255,255,255,.08);
}

.home-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.home-icon-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
}

.home-icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-search-mask {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.home-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .56);
}

.home-search-panel {
    position: absolute;
    left: 50%;
    top: 120px;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 32px));
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--home-shadow);
}

.home-search-modal {
    color: var(--home-text);
}

.home-search-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.home-search-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--home-primary);
    background: rgba(31, 140, 235, .1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-search-modal h3 {
    margin: 10px 0 0;
    font-size: 24px;
}

.home-search-tip {
    margin: 10px 0 18px;
    color: var(--home-text-muted);
}

.home-search-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: var(--home-text-muted);
    background: var(--home-surface-2);
    flex: 0 0 auto;
}

.home-search-form {
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.home-search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: #fff;
}

.home-search-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    color: var(--home-text-muted);
    flex: 0 0 auto;
}

.home-search-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-search-input-group input {
    flex: 1;
    min-height: 52px;
    border: 0;
    padding: 0;
    outline: none;
    background: transparent;
}

.home-search-form button {
    min-width: 120px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--home-primary), var(--home-primary-dark));
}

.home-hero {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background: #0d1324;
    margin-bottom: -24px;
}

.home-slider,
.home-slider-track,
.home-slide {
    min-height: 380px;
}

.home-slider-track {
    position: relative;
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-slide-bg {
    position: absolute;
    inset: 0;
}

.home-slide-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.home-slide-bg-1 { background-image: linear-gradient(120deg, rgba(31,140,235,.72), rgba(16,185,129,.45)), radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 32%), linear-gradient(180deg, #0f172a, #1e293b); }
.home-slide-bg-2 { background-image: linear-gradient(120deg, rgba(245,182,63,.55), rgba(31,140,235,.62)), linear-gradient(180deg, #10203a, #223a5e); }
.home-slide-bg-3 { background-image: linear-gradient(120deg, rgba(17,24,39,.4), rgba(31,140,235,.5)), linear-gradient(180deg, #0f172a, #334155); }

.home-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}

.home-slider-arrow.prev { left: 12px; }
.home-nav-list > li.has-dropdown > a::after {
    content: '▾';
    margin-left: 8px;
    font-size: 12px;
    opacity: .8;
}

.home-slider-arrow.next { right: 12px; }

.home-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.home-slider-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.4);
}

.home-slider-dots button.is-active {
    width: 32px;
    background: #fff;
}

.home-back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 55;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--home-primary), var(--home-primary-dark));
    box-shadow: var(--home-shadow);
}

.home-back-top .bi {
    font-size: 22px;
    line-height: 1;
}
