/* Alif Trading — Homepage navbar + hero */

.np-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    padding: 14px 16px 0;
    pointer-events: none;
}

.np-nav-shell {
    pointer-events: auto;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 8px 10px 8px 12px;
    border-radius: 20px;
    background: rgba(8, 14, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.np-nav.is-scrolled .np-nav-shell {
    background: rgba(5, 10, 18, 0.92);
    border-color: rgba(0, 212, 170, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.np-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    padding: 2px;
}

.np-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #050a12;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 6px 16px rgba(0, 0, 0, 0.35);
}

.np-brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    display: block;
    background: #050a12;
}

.np-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #f8fafc;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.np-brand-name em {
    font-style: normal;
    color: #00d4aa;
}

.np-links {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.np-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
}

.np-link:hover,
.np-link.is-active {
    color: #f1f5f9;
    background: rgba(0, 212, 170, 0.1);
}

.np-nav-cta {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.np-btn-ghost {
    color: #e2e8f0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.np-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.np-btn-solid {
    color: #04120e;
    background: linear-gradient(135deg, #00b894, #00d4aa 55%, #38bdf8);
    border: none;
    box-shadow: 0 8px 22px rgba(0, 212, 170, 0.28);
}

.np-btn-solid:hover {
    color: #04120e;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 212, 170, 0.38);
}

.np-burger {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.np-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #f8fafc;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.np-nav.is-open .np-burger span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.np-nav.is-open .np-burger span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.np-mobile {
    pointer-events: auto;
    max-width: 1180px;
    margin: 10px auto 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(8, 14, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    display: grid;
    gap: 6px;
}

.np-mobile[hidden] { display: none; }

.np-mobile-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 12px;
}

.np-mobile-link.is-active,
.np-mobile-link:hover {
    color: #fff;
    background: rgba(0, 212, 170, 0.1);
}

.np-mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.np-mobile-cta .np-btn { width: 100%; }

@media (min-width: 992px) {
    .np-links,
    .np-nav-cta { display: flex; }
    .np-burger,
    .np-mobile { display: none !important; }
}

/* Hero */
.np-hero {
    position: relative;
    isolation: isolate;
    padding: 118px 0 72px;
    overflow: hidden;
    min-height: 100vh;
}

.np-hero-glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(0, 212, 170, 0.18), transparent 60%),
        radial-gradient(700px 380px at 90% 30%, rgba(56, 189, 248, 0.1), transparent 55%),
        #050a12;
}

.np-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.np-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.np-hero-copy { max-width: 760px; }

.np-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    color: #5eead4;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.np-kicker-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    background: #050a12;
}

.np-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00d4aa;
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
    animation: npPulse 1.8s infinite;
}

@keyframes npPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
}

.np-hero-title {
    font-size: clamp(2.2rem, 6vw, 4.3rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin: 0 0 16px;
    color: #f8fafc;
}

.np-hero-title span {
    background: linear-gradient(135deg, #00b894, #00d4aa 40%, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.np-hero-lead {
    margin: 0 auto 28px;
    max-width: 560px;
    color: #94a3b8;
    font-size: 1.08rem;
    line-height: 1.7;
}

.np-slider {
    position: relative;
    width: 100%;
    max-width: 980px;
}

.np-slider-viewport {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 212, 170, 0.08);
    aspect-ratio: 16 / 9;
    background: #0c1524;
}

.np-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.np-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.np-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.np-slide.is-active img {
    transform: scale(1);
}

.np-slide-meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(5, 10, 18, 0.62);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.np-slide-meta span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00d4aa;
}

.np-slide-meta strong {
    font-size: 1.05rem;
    color: #fff;
}

.np-slider-nav {
    position: absolute;
    top: calc(50% - 42px);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(5, 10, 18, 0.72);
    color: #fff;
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.np-slider-nav:hover {
    background: #00d4aa;
    color: #04120e;
    transform: scale(1.05);
}

.np-prev { left: 12px; }
.np-next { right: 12px; }

.np-slider-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.np-tab {
    position: relative;
    overflow: hidden;
    min-height: 54px;
    padding: 10px 12px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(12, 21, 36, 0.7);
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.np-tab em {
    display: block;
    font-style: normal;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 2px;
}

.np-tab.is-active {
    color: #f8fafc;
    border-color: rgba(0, 212, 170, 0.35);
}

.np-tab-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 212, 170, 0.22), rgba(56, 189, 248, 0.12));
}

.np-tab.is-active .np-tab-fill {
    animation: npFill var(--np-interval, 4.2s) linear forwards;
}

@keyframes npFill {
    from { width: 0; }
    to { width: 100%; }
}

.np-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    width: 100%;
    max-width: 520px;
}

.np-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.np-cta-primary {
    color: #04120e;
    background: linear-gradient(135deg, #00b894, #00d4aa 50%, #5eead4);
    box-shadow: 0 14px 36px rgba(0, 212, 170, 0.28);
}

.np-cta-primary:hover {
    color: #04120e;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 212, 170, 0.4);
}

.np-cta-secondary {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.np-cta-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .np-hero { padding: 104px 0 48px; min-height: auto; }
    .np-slider-viewport { aspect-ratio: 4 / 3; border-radius: 20px; }
    .np-slider-tabs { grid-template-columns: 1fr 1fr; }
    .np-hero-actions { max-width: 100%; }
    .np-cta { flex: 1 1 100%; min-width: 0; }
    .np-slider-nav { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .np-slider-track,
    .np-slide img,
    .np-tab-fill { animation: none !important; transition: none !important; }
}
