/* ============================================
   MERAJAL PUBLIC DESIGN SYSTEM
   Premium UI/UX · Bootstrap 5 Enhancement Layer
   ============================================ */

/* ─── 1. CUSTOM PROPERTIES ─────────────────── */
:root {
    --mj-primary: #0066FF;
    --mj-primary-hover: #0052cc;
    --mj-primary-light: #e8f0fe;
    --mj-primary-rgb: 0, 102, 255;
    --mj-accent: #00d4aa;
    --mj-accent-rgb: 0, 212, 170;
    --mj-purple: #6366f1;
    --mj-dark: #0a1628;
    --mj-dark-2: #1a2744;
    --mj-text: #1a1a2e;
    --mj-text-secondary: #64748b;
    --mj-text-muted: #94a3b8;
    --mj-bg: #f8fafc;
    --mj-surface: #ffffff;
    --mj-border: #e2e8f0;
    --mj-success: #10b981;
    --mj-warning: #f59e0b;

    --mj-gradient-hero: linear-gradient(135deg, #0066FF 0%, #00d4aa 100%);
    --mj-gradient-dark: linear-gradient(180deg, #0a1628 0%, #1a2744 100%);
    --mj-gradient-accent: linear-gradient(135deg, #0066FF, #6366f1);
    --mj-gradient-card: linear-gradient(135deg, rgba(0,102,255,.05), rgba(0,212,170,.05));

    --mj-shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --mj-shadow: 0 8px 30px rgba(0,0,0,.08);
    --mj-shadow-lg: 0 20px 60px rgba(0,0,0,.12);
    --mj-shadow-primary: 0 8px 30px rgba(0,102,255,.25);

    --mj-radius-sm: 8px;
    --mj-radius: 16px;
    --mj-radius-lg: 24px;
    --mj-radius-full: 999px;

    --mj-transition: all .3s cubic-bezier(.4,0,.2,1);
    --mj-transition-fast: all .15s ease;
}

/* ─── 2. BASE & TYPOGRAPHY ─────────────────── */
html {
    /* Safety net: Bootstrap's larger gutter classes (g-4/g-5) pull rows past
       the container edge via negative margins; this stops that from ever
       becoming a visible/scrollable horizontal overflow, site-wide.
       Uses `clip` (not `hidden`) so it doesn't break position:sticky for
       descendants like the navbar's sticky-top — `hidden` here would make
       html/body the nearest scrolling ancestor for sticky elements, which
       breaks their stickiness relative to the actual viewport. */
    overflow-x: clip;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--mj-text);
    background: var(--mj-bg);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    max-width: 100vw;
    overscroll-behavior-y: contain;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    color: var(--mj-text);
    letter-spacing: -.02em;
}
.mj-gradient-text {
    background: var(--mj-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mj-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: .5rem;
}
.mj-section-subtitle {
    font-size: 1.1rem;
    color: var(--mj-text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ─── 3. BOOTSTRAP OVERRIDES (public only) ─── */
.btn-primary    { background: var(--mj-primary); border-color: var(--mj-primary); }
.btn-primary:hover { background: var(--mj-primary-hover); border-color: var(--mj-primary-hover); }
.btn-outline-primary { color: var(--mj-primary); border-color: var(--mj-primary); }
.btn-outline-primary:hover { background: var(--mj-primary); border-color: var(--mj-primary); }
.text-primary { color: var(--mj-primary) !important; }

/* ─── 4. NAVBAR ────────────────────────────── */
.mj-navbar {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226,232,240,.5);
    transition: var(--mj-transition);
    padding: 8px 0;
}
.mj-navbar.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.mj-navbar .brand-name {
    font-weight: 800;
    font-size: 1.25rem;
    background: var(--mj-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
.mj-navbar .brand-tagline {
    font-size: 11px;
    color: var(--mj-text-muted);
    font-weight: 500;
    white-space: nowrap;
}
/* Prevent the brand block (fixed-size logo + text) from forcing the
   flex navbar wider than the viewport on narrow screens. */
.mj-navbar .container { min-width: 0; }
.mj-navbar .brand { min-width: 0; flex-shrink: 1; }
.mj-navbar .brand > div { min-width: 0; overflow: hidden; }
.mj-navbar .brand-name,
.mj-navbar .brand-tagline { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) {
    .mj-navbar .brand-name { font-size: 1.1rem; }
    .mj-navbar .brand-tagline { font-size: 10px; }
}
/* Mobile navbar: keep the brand + action buttons on ONE row.
   Bootstrap sets `flex-wrap: inherit` on `.navbar .container`, which inherits
   `wrap` from `.navbar` and pushes the search/language/sign-up buttons onto a
   second line on narrow screens. Force a single row, keep the actions at fixed
   size, and let the brand text ellipsis first if space is genuinely tight. */
@media (max-width: 991.98px) {
    .mj-navbar .container { flex-wrap: nowrap; }
    .mj-navbar .brand { flex: 0 1 auto; min-width: 0; }
    .mj-navbar .container > .d-lg-none { flex: 0 0 auto; }
    .mj-navbar .d-lg-none .mj-btn-signup { padding: 7px 14px; font-size: .82rem; }
    .mj-navbar .d-lg-none .mj-btn-login  { padding: 7px 11px; font-size: .82rem; }
}
/* On small phones the action buttons dominate the row, so drop the decorative
   tagline to keep the brand crisp (no clipped "…with ca"). Full nav returns at ≥992px. */
@media (max-width: 575.98px) {
    .mj-navbar .brand-tagline { display: none; }
}
@media (max-width: 360px) {
    .mj-navbar .container > .d-lg-none { gap: 6px !important; }
    .mj-navbar .brand img { height: 32px; }
    .mj-navbar .d-lg-none .mj-btn-signup { padding: 7px 12px; }
    .mj-navbar .d-lg-none .mj-btn-login  { padding: 7px 10px; }
}
.mj-navbar .nav-link {
    font-weight: 500;
    color: var(--mj-text-secondary);
    padding: 8px 16px !important;
    border-radius: var(--mj-radius-full);
    transition: var(--mj-transition-fast);
    font-size: .95rem;
}
.mj-navbar .nav-link:hover,
.mj-navbar .nav-link.active { color: var(--mj-primary); background: var(--mj-primary-light); }

/* Navbar search */
.mj-search-bar {
    display: flex; align-items: center; gap: 4px;
    padding: 4px 6px; border-radius: var(--mj-radius-full);
    background: var(--mj-bg); border: 1.5px solid var(--mj-border);
    transition: var(--mj-transition);
}
.mj-search-bar:focus-within {
    border-color: var(--mj-primary);
    box-shadow: 0 0 0 3px rgba(var(--mj-primary-rgb),.1);
    background: var(--mj-surface);
}
.mj-search-bar select,
.mj-search-bar input {
    border: none; background: transparent; outline: none;
    font-size: 14px; font-family: inherit; color: var(--mj-text);
}
.mj-search-bar select { padding: 8px 12px; cursor: pointer; font-weight: 500; color: var(--mj-text-secondary); }
.mj-search-bar input  { flex: 1; padding: 8px 12px; min-width: 0; }
.mj-search-bar input::placeholder { color: var(--mj-text-muted); }
.mj-search-bar button {
    border: none; background: var(--mj-primary); color: #fff;
    padding: 8px 14px; border-radius: var(--mj-radius-full);
    display: flex; align-items: center; justify-content: center;
    transition: var(--mj-transition-fast); cursor: pointer;
}
.mj-search-bar button:hover { background: var(--mj-primary-hover); transform: scale(1.05); }
@media (max-width:1200px) { .mj-search-bar input { width: 160px; } }
@media (min-width:1201px)  { .mj-search-bar input { width: 220px; } }

/* Auth buttons */
.mj-btn-login {
    border-radius: var(--mj-radius-full); padding: 8px 20px; font-weight: 600;
    color: var(--mj-text); background: transparent; border: 1.5px solid var(--mj-border);
    transition: var(--mj-transition-fast); font-size: .9rem;
}
.mj-btn-login:hover { border-color: var(--mj-primary); color: var(--mj-primary); background: var(--mj-primary-light); }
.mj-btn-signup {
    border-radius: var(--mj-radius-full); padding: 8px 22px; font-weight: 600;
    background: var(--mj-gradient-hero); color: #fff; border: none;
    box-shadow: var(--mj-shadow-primary); transition: var(--mj-transition); font-size: .9rem;
}
.mj-btn-signup:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(var(--mj-primary-rgb),.35); color: #fff; }

/* ─── 5. HERO SECTION ──────────────────────── */
.mj-hero {
    background: var(--mj-gradient-hero);
    position: relative; overflow: hidden; color: #fff;
    min-height: 100vh; display: flex; align-items: center;
}
.mj-hero::before {
    content:''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; background: rgba(255,255,255,.08);
    border-radius: 50%; animation: mj-float 8s ease-in-out infinite;
}
.mj-hero::after {
    content:''; position: absolute; bottom: -30%; left: -10%;
    width: 500px; height: 500px; background: rgba(255,255,255,.05);
    border-radius: 50%; animation: mj-float 10s ease-in-out infinite reverse;
}
.mj-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
    padding: 10px 20px; border-radius: var(--mj-radius-full);
    font-size: 14px; font-weight: 500; border: 1px solid rgba(255,255,255,.2);
}
.mj-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
}
.mj-hero-title span { color: rgba(255,255,255,.7); }
.mj-hero-subtitle { font-size: 1.15rem; opacity: .9; max-width: 500px; line-height: 1.7; }
.mj-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.mj-hero-actions .btn-hero-primary {
    background: #fff; color: var(--mj-primary); border: none;
    border-radius: var(--mj-radius); padding: 14px 32px; font-weight: 700; font-size: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.15); transition: var(--mj-transition);
}
.mj-hero-actions .btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.mj-hero-actions .btn-hero-outline {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4);
    border-radius: var(--mj-radius); padding: 14px 32px; font-weight: 600; font-size: 1rem;
    transition: var(--mj-transition);
}
.mj-hero-actions .btn-hero-outline:hover {
    background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.7); color: #fff; transform: translateY(-2px);
}
.mj-hero-trust { display: flex; gap: 20px; font-size: 14px; font-weight: 500; opacity: .9; flex-wrap: wrap; }
.mj-hero-trust span { display: flex; align-items: center; gap: 6px; }

/* Glass floating cards */
.mj-glass-float {
    background: rgba(255,255,255,.15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2); padding: 16px 24px; border-radius: var(--mj-radius);
    font-weight: 600; box-shadow: 0 20px 50px rgba(0,0,0,.15);
    position: absolute; animation: mj-float 5s ease-in-out infinite;
    display: flex; align-items: center; gap: 12px;
}
.mj-glass-float .float-icon {
    width: 44px; height: 44px; background: rgba(255,255,255,.2);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.mj-glass-float .float-label { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 400; }
.mj-glass-float .float-value { font-size: 1.1rem; font-weight: 700; }
.mj-hero-float-1 { top: 15%; right: 5%; animation-delay: 0s; }
.mj-hero-float-2 { top: 50%; right: 20%; animation-delay: .8s; }
.mj-hero-float-3 { bottom: 18%; right: 5%; animation-delay: 1.6s; }

/* ─── 6. CARDS ─────────────────────────────── */
/* Product Card */
.mj-product-card {
    background: var(--mj-surface); border-radius: var(--mj-radius);
    box-shadow: var(--mj-shadow-sm); transition: var(--mj-transition);
    overflow: hidden; border: 1px solid transparent;
}
.mj-product-card:hover {
    transform: translateY(-6px); box-shadow: var(--mj-shadow-lg);
    border-color: rgba(var(--mj-primary-rgb),.15);
}
.mj-product-card .card-img-wrapper {
    position: relative; overflow: hidden; height: 200px;
}
.mj-product-card .card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.mj-product-card:hover .card-img-wrapper img { transform: scale(1.08); }
.mj-product-card .card-body { padding: 20px; }
.mj-product-card .product-name {
    font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--mj-text);
}
.mj-product-card .product-desc { font-size: .85rem; color: var(--mj-text-secondary); margin-bottom: 8px; }
.mj-product-card .product-price { font-size: 1.2rem; font-weight: 800; color: var(--mj-primary); }
.mj-product-card .product-supplier { font-size: .8rem; color: var(--mj-text-muted); }

/* Supplier Card */
.mj-supplier-card {
    background: var(--mj-surface); border-radius: var(--mj-radius);
    box-shadow: var(--mj-shadow-sm); transition: var(--mj-transition);
    overflow: hidden; border: 1px solid transparent;
}
.mj-supplier-card:hover {
    transform: translateY(-4px); box-shadow: var(--mj-shadow);
    border-color: rgba(var(--mj-primary-rgb),.1);
}
.mj-supplier-card .supplier-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--mj-gradient-hero); color: #fff; font-weight: 700;
    font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(var(--mj-primary-rgb),.3);
}
.mj-supplier-card .supplier-img {
    height: 220px; object-fit: cover; width: 100%;
}

/* ─── 7. SECTIONS ──────────────────────────── */
.mj-section { padding: 80px 0; position: relative; }
.mj-section-light { background: var(--mj-bg); }
.mj-section-gradient { background: var(--mj-gradient-hero); color: #fff; }
.mj-section-dark { background: var(--mj-gradient-dark); color: #fff; }

/* ─── 8. PAGE HEADERS ──────────────────────── */
.mj-page-header {
    background: var(--mj-gradient-hero); color: #fff;
    padding: 60px 0 50px; text-align: center; position: relative; overflow: hidden;
}
.mj-page-header::before {
    content:''; position: absolute; top: -40%; right: -15%;
    width: 400px; height: 400px; background: rgba(255,255,255,.05); border-radius: 50%;
}
.mj-page-header h1 { font-weight: 800; font-size: clamp(2rem,4vw,2.8rem); color: #fff; margin-bottom: 8px; }
.mj-page-header .lead { opacity: .85; font-size: 1.1rem; }

/* ─── 9. STATS ─────────────────────────────── */
.mj-stats { background: var(--mj-gradient-dark); padding: 60px 0; color: #fff; }
.mj-stat-item { text-align: center; padding: 20px; }
.mj-stat-icon {
    width: 56px; height: 56px; background: rgba(var(--mj-primary-rgb),.15);
    border-radius: var(--mj-radius); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.4rem; color: var(--mj-accent);
}
.mj-stat-value { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.mj-stat-label { font-size: .95rem; opacity: .7; font-weight: 500; }

/* ─── 10. TESTIMONIALS ─────────────────────── */
.mj-testimonial {
    background: var(--mj-surface); border-radius: var(--mj-radius); padding: 28px;
    box-shadow: var(--mj-shadow-sm); border: 1px solid var(--mj-border);
    transition: var(--mj-transition); position: relative;
}
.mj-testimonial::before {
    content:''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%; background: var(--mj-gradient-hero);
    border-radius: 4px 0 0 4px;
}
.mj-testimonial:hover { transform: translateY(-4px); box-shadow: var(--mj-shadow); }
.mj-testimonial .quote-icon { font-size: 2rem; color: var(--mj-primary); opacity: .3; line-height: 1; margin-bottom: 12px; }
.mj-testimonial .testimonial-text { font-size: .95rem; line-height: 1.7; color: var(--mj-text-secondary); margin-bottom: 16px; font-style: italic; }
.mj-testimonial .testimonial-author { font-weight: 700; font-size: .95rem; margin-bottom: 2px; }
.mj-testimonial .testimonial-role { font-size: .8rem; color: var(--mj-text-muted); }

/* ─── 11. STEPS / HOW IT WORKS ─────────────── */
.mj-step { text-align: center; position: relative; padding: 0 20px; }
.mj-step-number {
    width: 64px; height: 64px; background: var(--mj-gradient-hero); color: #fff;
    border-radius: 50%; font-size: 1.3rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; box-shadow: var(--mj-shadow-primary);
}
.mj-step h5 { font-weight: 700; margin-bottom: 8px; }
.mj-step p { color: var(--mj-text-secondary); font-size: .95rem; }
@media (min-width:768px) {
    .mj-steps-row .mj-step:not(:last-child)::after {
        content:''; position: absolute; top: 32px; right: -10%; width: 50%;
        height: 2px; background: linear-gradient(90deg, var(--mj-primary), transparent); z-index: 0;
    }
}

/* ─── 12. PRICING CARDS ────────────────────── */
.mj-pricing-card {
    background: var(--mj-surface); border-radius: var(--mj-radius-lg); padding: 36px 28px;
    box-shadow: var(--mj-shadow-sm); border: 2px solid var(--mj-border);
    transition: var(--mj-transition); text-align: center; position: relative;
}
.mj-pricing-card:hover { transform: translateY(-6px); box-shadow: var(--mj-shadow-lg); }
.mj-pricing-card.popular { border-color: var(--mj-primary); box-shadow: var(--mj-shadow-primary); }
.mj-pricing-card.popular::before {
    content:'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--mj-gradient-hero); color: #fff; padding: 6px 20px;
    border-radius: var(--mj-radius-full); font-size: .8rem; font-weight: 700;
}
.mj-pricing-price { font-size: 3rem; font-weight: 800; color: var(--mj-primary); line-height: 1; }
.mj-pricing-price small { font-size: 1rem; color: var(--mj-text-muted); font-weight: 400; }
.mj-pricing-features { list-style: none; padding: 0; text-align: left; margin: 24px 0; }
.mj-pricing-features li {
    padding: 10px 0; border-bottom: 1px solid var(--mj-border);
    font-size: .95rem; color: var(--mj-text-secondary); display: flex; align-items: center; gap: 10px;
}
.mj-pricing-features li:last-child { border-bottom: none; }
.mj-pricing-features .check { color: var(--mj-success); font-weight: 700; }

/* ─── 13. CONTACT / FORMS ──────────────────── */
.mj-form-card {
    background: var(--mj-surface); border-radius: var(--mj-radius-lg);
    box-shadow: var(--mj-shadow); padding: 36px; border: 1px solid var(--mj-border);
}
.mj-form-card .form-control {
    border: 1.5px solid var(--mj-border); border-radius: var(--mj-radius-sm);
    padding: 12px 16px; font-size: .95rem; font-family: inherit; transition: var(--mj-transition-fast);
}
.mj-form-card .form-control:focus {
    border-color: var(--mj-primary); box-shadow: 0 0 0 3px rgba(var(--mj-primary-rgb),.1);
}
.mj-form-card .form-label { font-weight: 600; font-size: .9rem; color: var(--mj-text); margin-bottom: 6px; }
.mj-contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.mj-contact-info-item .info-icon {
    width: 48px; height: 48px; min-width: 48px; background: var(--mj-primary-light);
    color: var(--mj-primary); border-radius: var(--mj-radius);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.mj-contact-info-item h6 { font-weight: 700; margin-bottom: 2px; font-size: .95rem; }
.mj-contact-info-item p { color: var(--mj-text-secondary); margin-bottom: 0; font-size: .9rem; }

/* ─── 14. PRODUCT DETAIL ───────────────────── */
.mj-product-gallery {
    background: var(--mj-surface); border-radius: var(--mj-radius-lg);
    box-shadow: var(--mj-shadow-sm); padding: 20px; border: 1px solid var(--mj-border);
}
.mj-product-gallery .main-image { border-radius: var(--mj-radius); overflow: hidden; margin-bottom: 16px; }
.mj-product-gallery .main-image img { width: 100%; max-height: 420px; object-fit: contain; }
.mj-product-gallery .thumb {
    width: 64px; height: 64px; border-radius: var(--mj-radius-sm); object-fit: cover; cursor: pointer;
    opacity: .6; border: 2px solid transparent; transition: var(--mj-transition-fast);
}
.mj-product-gallery .thumb:hover { opacity: .9; }
.mj-product-gallery .thumb.active { opacity: 1; border-color: var(--mj-primary); box-shadow: 0 0 0 3px rgba(var(--mj-primary-rgb),.15); }
.mj-product-info {
    background: var(--mj-surface); border-radius: var(--mj-radius-lg);
    box-shadow: var(--mj-shadow-sm); padding: 32px; border: 1px solid var(--mj-border);
}
.mj-product-info .product-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.mj-product-info .product-price-tag { font-size: 2rem; font-weight: 800; color: var(--mj-primary); }
.mj-product-info .feature-list { list-style: none; padding: 0; }
.mj-product-info .feature-list li { padding: 6px 0; color: var(--mj-text-secondary); font-size: .95rem; }
.mj-product-info .feature-list li .bi { color: var(--mj-success); margin-right: 8px; }
.mj-trust-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.mj-trust-badge { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--mj-text-secondary); font-weight: 500; }
.mj-trust-badge i { color: var(--mj-primary); font-size: 1rem; }

/* Tabs */
.mj-tabs .nav-pills .nav-link {
    border-radius: var(--mj-radius-full); padding: 10px 24px; font-weight: 600;
    color: var(--mj-text-secondary); background: transparent; transition: var(--mj-transition-fast); font-size: .95rem;
}
.mj-tabs .nav-pills .nav-link.active { background: var(--mj-primary); color: #fff; box-shadow: var(--mj-shadow-primary); }
.mj-tabs .nav-pills .nav-link:hover:not(.active) { background: var(--mj-primary-light); color: var(--mj-primary); }

/* ─── 15. SUPPLIER PROFILE ─────────────────── */
.mj-supplier-header {
    background: var(--mj-surface); border-radius: var(--mj-radius-lg);
    box-shadow: var(--mj-shadow-sm); padding: 24px; border: 1px solid var(--mj-border);
}
.mj-supplier-avatar-lg {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--mj-gradient-hero); color: #fff; font-size: 1.5rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(var(--mj-primary-rgb),.3);
}
.mj-sidebar .list-group-item {
    border: none; border-radius: var(--mj-radius-sm) !important;
    font-weight: 500; padding: 12px 18px; color: var(--mj-text-secondary);
    transition: var(--mj-transition-fast); margin-bottom: 4px;
}
.mj-sidebar .list-group-item.active { background: var(--mj-primary); color: #fff; box-shadow: var(--mj-shadow-primary); }
.mj-sidebar .list-group-item:hover:not(.active) { background: var(--mj-primary-light); color: var(--mj-primary); }

/* ─── 16. FEATURE CARD ─────────────────────── */
.mj-feature-card {
    background: var(--mj-surface); border-radius: var(--mj-radius); padding: 32px 24px;
    text-align: center; box-shadow: var(--mj-shadow-sm); transition: var(--mj-transition);
    border: 1px solid var(--mj-border);
}
.mj-feature-card:hover { transform: translateY(-4px); box-shadow: var(--mj-shadow); border-color: rgba(var(--mj-primary-rgb),.15); }
.mj-feature-icon {
    width: 64px; height: 64px; background: var(--mj-gradient-hero); color: #fff;
    border-radius: var(--mj-radius); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin: 0 auto 20px; box-shadow: var(--mj-shadow-primary);
}
.mj-feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.mj-feature-card p { color: var(--mj-text-secondary); font-size: .9rem; margin-bottom: 0; }

/* ─── 17. FAQ / ACCORDION ──────────────────── */
.mj-accordion .accordion-item {
    border: 1px solid var(--mj-border); border-radius: var(--mj-radius) !important;
    margin-bottom: 12px; overflow: hidden;
}
.mj-accordion .accordion-button {
    font-weight: 600; font-size: .95rem; color: var(--mj-text); background: var(--mj-surface);
    padding: 18px 24px; box-shadow: none !important;
}
.mj-accordion .accordion-button:not(.collapsed) { background: var(--mj-primary-light); color: var(--mj-primary); }
.mj-accordion .accordion-body { padding: 16px 24px 20px; color: var(--mj-text-secondary); font-size: .95rem; line-height: 1.7; }

/* ─── 18. CTA SECTION ──────────────────────── */
.mj-cta {
    background: var(--mj-gradient-hero); color: #fff; padding: 80px 0;
    text-align: center; position: relative; overflow: hidden;
}
.mj-cta::before {
    content:''; position: absolute; top: -30%; right: -10%;
    width: 400px; height: 400px; background: rgba(255,255,255,.06); border-radius: 50%;
}
.mj-cta::after {
    content:''; position: absolute; bottom: -40%; left: -8%;
    width: 350px; height: 350px; background: rgba(255,255,255,.04); border-radius: 50%;
}
.mj-cta h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.5rem); }

/* ─── 19. FOOTER ───────────────────────────── */
.mj-footer {
    background: var(--mj-gradient-dark); color: rgba(255,255,255,.8); padding-top: 60px;
}
.mj-footer h6 { color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 1rem; }
.mj-footer a {
    color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem;
    transition: var(--mj-transition-fast); display: block; padding: 4px 0;
}
.mj-footer a:hover { color: var(--mj-accent); padding-left: 4px; }
.mj-footer .footer-brand .brand-name {
    font-weight: 800; font-size: 1.3rem; color: #fff;
    background: none; -webkit-text-fill-color: #fff;
}
.mj-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; margin-top: 40px;
}
.mj-footer .social-icon {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6); font-size: 1.1rem; transition: var(--mj-transition); margin-left: 8px;
}
.mj-footer .social-icon:hover { background: var(--mj-primary); color: #fff; transform: translateY(-3px); }
.mj-footer-mobile {
    background: var(--mj-dark); border-top: 1px solid rgba(255,255,255,.1);
}
.mj-footer-mobile a {
    color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem;
    transition: var(--mj-transition-fast);
}
.mj-footer-mobile a:hover { color: var(--mj-accent); }

/* ─── 20. BUTTONS ──────────────────────────── */
.mj-btn-primary {
    background: var(--mj-gradient-hero); color: #fff; border: none;
    border-radius: var(--mj-radius); padding: 12px 28px; font-weight: 700;
    font-size: .95rem; transition: var(--mj-transition);
    box-shadow: 0 4px 15px rgba(var(--mj-primary-rgb),.25);
}
.mj-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--mj-primary-rgb),.35); color: #fff; }
.mj-btn-outline {
    background: transparent; color: var(--mj-primary); border: 2px solid var(--mj-primary);
    border-radius: var(--mj-radius); padding: 12px 28px; font-weight: 700;
    font-size: .95rem; transition: var(--mj-transition);
}
.mj-btn-outline:hover { background: var(--mj-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--mj-shadow-primary); }
.mj-btn-white {
    background: #fff; color: var(--mj-primary); border: none; border-radius: var(--mj-radius);
    padding: 14px 32px; font-weight: 700; font-size: 1rem; transition: var(--mj-transition);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.mj-btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,0,0,.15); color: var(--mj-primary); }
.mj-btn-sm { padding: 8px 18px; font-size: .85rem; border-radius: var(--mj-radius-sm); }

/* ─── 21. BADGES ───────────────────────────── */
.mj-badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px;
    border-radius: var(--mj-radius-full); font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
}
.mj-badge-primary { background: rgba(var(--mj-primary-rgb),.1); color: var(--mj-primary); }
.mj-badge-success { background: rgba(16,185,129,.1); color: var(--mj-success); }
.mj-badge-warning { background: rgba(245,158,11,.1); color: var(--mj-warning); }
.mj-badge-white   { background: rgba(255,255,255,.2); color: #fff; }

/* ─── 22. ANIMATIONS ───────────────────────── */
@keyframes mj-float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-16px); }
}
@keyframes mj-fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.mj-reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.mj-reveal.revealed { opacity: 1; transform: translateY(0); }
.mj-reveal-delay-1 { transition-delay: .1s; }
.mj-reveal-delay-2 { transition-delay: .2s; }
.mj-reveal-delay-3 { transition-delay: .3s; }
.mj-reveal-delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .mj-reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0s !important; }
}

/* ─── 23. MOBILE BOTTOM NAV ────────────────── */
.mj-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--mj-border); z-index: 1040; padding: 6px 0;
}
.mj-bottom-nav .nav-grid { display: flex; justify-content: space-around; }
.mj-bottom-nav .nav-item {
    text-decoration: none; text-align: center; color: var(--mj-text-muted);
    font-size: .7rem; font-weight: 500; padding: 6px 12px;
    border-radius: var(--mj-radius); transition: var(--mj-transition-fast);
}
.mj-bottom-nav .nav-item i { font-size: 1.2rem; display: block; margin-bottom: 2px; }
.mj-bottom-nav .nav-item.active,
.mj-bottom-nav .nav-item:hover { color: var(--mj-primary); }
.mj-bottom-nav .nav-item.active { background: var(--mj-primary-light); }

/* ─── 24. MOBILE RESPONSIVE ────────────────── */
@media (max-width:991px) {
    body { padding-bottom: 70px; }
    .mj-section { padding: 50px 0; }
    .mj-hero { min-height: auto; padding: 100px 0 60px; }
    .mj-hero-title { font-size: 2.2rem; }
    .mj-hero-subtitle { font-size: 1rem; }
    .mj-hero-actions { justify-content: center; }
    .mj-hero-trust { justify-content: center; }
    .mj-page-header { padding: 40px 0 35px; }
    .mj-stats { padding: 40px 0; }
    .mj-stat-value { font-size: 2rem; }
    .mj-footer-desktop { display: none; }
    .mj-footer-mobile  { display: block; }
    .mj-cta { padding: 50px 0; }
}
@media (min-width:992px) {
    .mj-bottom-nav     { display: none; }
    .mj-footer-desktop { display: block; }
    .mj-footer-mobile  { display: none; }
}
@media (max-width:575px) {
    .mj-product-card .card-img-wrapper { height: 160px; }
    .mj-product-card .card-body { padding: 14px; }
    .mj-hero-actions .btn-hero-primary,
    .mj-hero-actions .btn-hero-outline { padding: 12px 24px; font-size: .9rem; }
    .mj-pricing-card { padding: 28px 20px; }
    .mj-product-info { padding: 20px; }
    .mj-form-card { padding: 24px; }
}

/* ─── 25. SUPPLIER PROFILE MOBILE ──────────── */
.mj-supplier-mobile-sticky {
    position: sticky; top: 60px; z-index: 1000; background: var(--mj-bg); padding-bottom: 8px;
}
.mj-supplier-tabs-mobile {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 8px;
    padding: 8px; background: var(--mj-surface); border-radius: var(--mj-radius);
    box-shadow: var(--mj-shadow-sm);
}
.mj-supplier-tabs-mobile .tab-item {
    text-align: center; padding: 12px; border-radius: var(--mj-radius-sm);
    font-size: .85rem; font-weight: 600; color: var(--mj-text-secondary);
    text-decoration: none; transition: var(--mj-transition-fast);
}
.mj-supplier-tabs-mobile .tab-item.active { background: var(--mj-primary); color: #fff; box-shadow: var(--mj-shadow-primary); }

/* ─── 26. MOBILE SEARCH ────────────────────── */
.mj-mobile-search {
    padding: 8px 16px 12px; background: var(--mj-surface); border-bottom: 1px solid var(--mj-border);
}
.mj-mobile-search .mj-search-bar { width: 100%; }

/* ─── 27. MISC UTILITIES ───────────────────── */
.mj-rating { color: var(--mj-warning); font-size: .9rem; }
.mj-divider { border-top: 1px solid var(--mj-border); margin: 24px 0; }
.text-mj-primary { color: var(--mj-primary) !important; }
.text-mj-accent  { color: var(--mj-accent) !important; }
.text-mj-success { color: var(--mj-success) !important; }
.bg-mj-light     { background: var(--mj-bg) !important; }

/* ─── 28. MOBILE / WEBVIEW POLISH ──────────── */
html { -webkit-text-size-adjust: 100%; }
a, button, .btn, .nav-item, .mj-bottom-nav .nav-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
img { max-width: 100%; }
.mj-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 991px) {
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0)); }
}
@media (max-width: 360px) {
    .mj-hero-title { font-size: 1.8rem; }
    .mj-bottom-nav .nav-item { font-size: .62rem; padding: 6px 8px; }
}
