/* ============================================================
   HubBazzar — Front Landing Page Stylesheet
   ============================================================ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* ── Header ── */
.front-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px dashed #d1d5db;
    transition: box-shadow 0.2s ease;
}
.front-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

/* ── Nav links ── */
.nav-front-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}
.nav-front-link:hover {
    color: #111827;
    background: #f9fafb;
}

/* ── Auth Buttons ── */
.btn-login {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #084041;
    border: 1.5px solid #084041;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.btn-login:hover {
    background: #084041;
    color: #ffffff;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: #084041;
    border: 1.5px solid #084041;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.btn-register:hover {
    background: #062e2f;
    box-shadow: 0 4px 14px rgba(8, 64, 65, 0.3);
}

/* ── Logo marquee ── */
.logo-slider-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-slider-track {
    display: flex;
    width: max-content;
    animation: logoScroll 32s linear infinite;
}
.logo-slider-track:hover {
    animation-play-state: paused;
}
@keyframes logoScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logo-slide {
    flex-shrink: 0;
    width: 200px;
    height: 80px;
    margin: 0 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}
.logo-slide img {
    max-width: 130px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

/* ── Hero stats ── */
.stat-item {
    padding-left: 16px;
    border-left: 4px solid #6366f1;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #111827;
}
.stat-label {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 4px;
}

/* ── CTA gradient banner ── */
.cta-banner {
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    background:
        radial-gradient(ellipse at top left,     #fde68a 0%, #fcd5b0 18%, transparent 40%),
        radial-gradient(ellipse at top right,    #e9d5ff 0%, #f5d0fe 20%, transparent 40%),
        radial-gradient(ellipse at bottom right, #d1fae5 0%, #a5f3fc 18%, transparent 40%),
        radial-gradient(ellipse at bottom left,  #ede9fe 0%, #ddd6fe 20%, transparent 40%),
        #ffffff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .stat-number { font-size: 2rem; }
    .btn-login, .btn-register { padding: 7px 14px; font-size: 0.8rem; }
}
