/**
 * MIND FORG Official Brand Design System
 * Theme: Premium Dark Blue + Light Blue International Publishing Platform & Admin CMS
 * Typography: Manrope (Headings) + Inter (Body)
 */

:root {
    --mf-dark-navy: #071A33;
    --mf-deep-blue: #0B2A52;
    --mf-primary: #1261A8;
    --mf-bright-blue: #2186D9;
    --mf-light-blue: #67B7F5;
    --mf-very-light-blue: #EAF6FF;
    --mf-bg: #F7FAFD;
    --mf-white: #FFFFFF;
    --mf-text: #102033;
    --mf-muted: #64748B;

    --mf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mf-font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Unbreakable Scroll Engine */
html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto !important;
    scroll-behavior: smooth;
}

body {
    font-family: var(--mf-font-body);
    font-size: 16px;
    color: var(--mf-text);
    background-color: var(--mf-bg);
    position: relative;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Professional Typography System */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--mf-font-heading);
    letter-spacing: -0.03em;
    color: var(--mf-dark-navy);
    font-weight: 800;
}

.display-hero {
    font-size: 3.8rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.card-title-v4 {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
}

/* Official Logo Sizing & Proportions */
.brand-logo-img {
    height: 42px;
    width: auto;
    max-height: 48px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(18, 97, 168, 0.22);
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

.brand-title {
    font-family: var(--mf-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--mf-dark-navy);
}

.brand-title span {
    color: var(--mf-bright-blue);
}

/* Top Utility Bar */
.top-utility-bar {
    background-color: var(--mf-dark-navy);
    color: var(--mf-very-light-blue);
    font-size: 0.78rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-bar a {
    color: var(--mf-light-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-utility-bar a:hover {
    color: #ffffff;
}

/* Glassmorphism Sticky Header (AdSense Free) */
.sticky-glass-header {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(18, 97, 168, 0.12);
    box-shadow: 0 10px 30px rgba(7, 26, 51, 0.06);
    transition: all 0.3s ease;
}

/* Mega Menu Dropdown */
.mega-menu-panel {
    min-width: 680px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 97, 168, 0.15);
    box-shadow: 0 24px 48px rgba(7, 26, 51, 0.15);
    padding: 1.75rem;
}

.mega-menu-cat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    color: var(--mf-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.mega-menu-cat-item:hover {
    background-color: var(--mf-very-light-blue);
    color: var(--mf-primary);
}

/* Section Header Badges */
.section-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--mf-very-light-blue);
    color: var(--mf-primary);
    border: 1px solid rgba(18, 97, 168, 0.2);
}

/* ==================================================
   FULL-WIDTH CINEMATIC HERO SLIDER WITH TEXT-FREE BG IMAGES
   ================================================== */
.cinematic-hero-slider {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 56px rgba(7, 26, 51, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-slide-bg {
    min-height: 540px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 26, 51, 0.94) 0%, rgba(11, 42, 82, 0.88) 55%, rgba(7, 26, 51, 0.75) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 4.5rem 3.5rem;
}

.hero-carousel-control {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.hero-carousel-control:hover {
    background: var(--mf-bright-blue);
    border-color: var(--mf-bright-blue);
    color: #ffffff;
    transform: scale(1.1);
}

/* Numbered Trending Stories */
.trending-card-v4 {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(18, 97, 168, 0.12);
    transition: all 0.25s ease;
}

.trending-card-v4:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -10px rgba(7, 26, 51, 0.12) !important;
    border-color: var(--mf-bright-blue);
    background: var(--mf-very-light-blue);
}

.trending-num-v4 {
    font-family: var(--mf-font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--mf-light-blue);
}

.trending-card-v4:hover .trending-num-v4 {
    color: var(--mf-primary);
}

/* ==================================================
   FIXED ASPECT RATIOS FOR UNIFORM THUMBNAILS
   ================================================== */
.card-img-ratio-16-9 {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow: hidden;
    position: relative;
    background: var(--mf-very-light-blue);
}

.card-img-ratio-16-9 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-img-ratio-1-1 {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    overflow: hidden;
    position: relative;
    background: var(--mf-very-light-blue);
}

.card-img-ratio-1-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-v4 {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 97, 168, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card-v4:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(7, 26, 51, 0.12) !important;
    border-color: var(--mf-bright-blue);
}

.post-card-v4:hover img {
    transform: scale(1.06);
}

/* Editorial Banner (Editor's Pick) */
.editorial-banner-v4 {
    background-size: cover !important;
    background-position: center !important;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(7, 26, 51, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.editorial-banner-overlay {
    background: linear-gradient(135deg, rgba(7, 26, 51, 0.94) 0%, rgba(11, 42, 82, 0.88) 100%);
    padding: 4.5rem 3.5rem;
}

/* Category Tiles */
.category-tile-v4 {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 97, 168, 0.12);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.category-tile-v4:hover {
    background: var(--mf-dark-navy);
    color: #ffffff !important;
    transform: translateY(-4px);
    border-color: var(--mf-bright-blue);
    box-shadow: 0 18px 36px -8px rgba(7, 26, 51, 0.2) !important;
}

.category-tile-v4:hover h3, .category-tile-v4:hover p {
    color: #ffffff !important;
}

.category-icon-v4 {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--mf-very-light-blue);
    color: var(--mf-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.category-tile-v4:hover .category-icon-v4 {
    background: var(--mf-bright-blue);
    color: #ffffff;
}

/* Product Cards (Shop V4) */
.prod-card-v4 {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 97, 168, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.prod-card-v4:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(7, 26, 51, 0.12) !important;
    border-color: var(--mf-bright-blue);
}

.prod-card-v4:hover .card-img-ratio-1-1 img {
    transform: scale(1.06);
}

/* Why MIND FORG V4 */
.why-card-v4 {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 97, 168, 0.12);
    padding: 2.5rem 1.75rem;
    transition: all 0.3s ease;
}

.why-card-v4:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px -8px rgba(7, 26, 51, 0.1) !important;
    border-color: var(--mf-bright-blue);
}

.why-num-v4 {
    font-family: var(--mf-font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--mf-bright-blue);
    background: var(--mf-very-light-blue);
    padding: 0.25rem 0.8rem;
    border-radius: 50rem;
    display: inline-block;
}

/* Newsletter V4 */
.newsletter-v4 {
    background: linear-gradient(135deg, var(--mf-dark-navy) 0%, var(--mf-deep-blue) 100%);
    border-radius: 28px;
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 28px 56px rgba(7, 26, 51, 0.35);
}

/* Multi-column Footer V4 */
.footer-v4 {
    background-color: var(--mf-dark-navy);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-v4 h6 {
    color: var(--mf-light-blue);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.footer-v4 a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-v4 a:hover {
    color: var(--mf-light-blue);
}

.social-btn-v4 {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-btn-v4:hover {
    background: var(--mf-bright-blue);
    border-color: var(--mf-bright-blue);
    color: #ffffff;
}

/* ==================================================
   ULTRA PREMIUM SHOP FILTER PANEL DESIGN SYSTEM
   ================================================== */
.decor-filter-panel {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(18, 97, 168, 0.12);
    box-shadow: 0 16px 40px -12px rgba(7, 26, 51, 0.08);
    padding: 1.75rem;
    position: sticky;
    top: 90px;
    z-index: 2;
}

.decor-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mf-very-light-blue);
    color: var(--mf-primary);
    border: 1px solid rgba(18, 97, 168, 0.2);
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.decor-filter-chip:hover {
    background: var(--mf-primary);
    color: #ffffff;
    border-color: var(--mf-primary);
}

.decor-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    color: var(--mf-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.decor-cat-row:hover {
    background-color: var(--mf-very-light-blue);
    color: var(--mf-primary);
}

.decor-cat-row.active {
    background-color: var(--mf-very-light-blue);
    color: var(--mf-primary);
    font-weight: 700;
    border-left: 3px solid var(--mf-bright-blue);
}

.color-swatch-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.color-swatch-circle:hover, .color-swatch-circle.active {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--mf-bright-blue);
}

/* Primary Button Styling */
.btn-primary {
    background-color: var(--mf-primary) !important;
    border-color: var(--mf-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--mf-deep-blue) !important;
    border-color: var(--mf-deep-blue) !important;
}

.btn-bright-blue {
    background-color: var(--mf-bright-blue) !important;
    border-color: var(--mf-bright-blue) !important;
    color: #ffffff !important;
}

.btn-bright-blue:hover {
    background-color: var(--mf-primary) !important;
    border-color: var(--mf-primary) !important;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .display-hero {
        font-size: 2.4rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .hero-slide-bg {
        min-height: 440px;
    }
    .hero-slide-content {
        padding: 2.5rem 1.5rem;
    }
    .mega-menu-panel {
        min-width: 100%;
    }
}

/* ==================================================
   SAAS ADMIN NAVIGATION SIDEBAR V2 (WHITE & LIGHT NEUTRAL)
   ================================================== */
.admin-sidebar-v2 {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-sidebar-v2.collapsed {
    width: 72px;
}

.admin-sidebar-v2.collapsed .sidebar-hide-collapsed {
    display: none !important;
}

.admin-sidebar-v2.collapsed .admin-nav-item-v2 {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.admin-shell-main {
    margin-left: 260px;
    transition: margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
}

@media (max-width: 767.98px) {
    .admin-sidebar-v2 {
        display: none;
    }
    .admin-shell-main {
        margin-left: 0 !important;
    }
}

/* Workspace Selector */
.sidebar-workspace-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sidebar-workspace-box:hover {
    background-color: #f1f5f9;
}

/* Section Header Labels */
.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 12px 12px 4px 12px;
}

/* Navigation Items */
.admin-nav-item-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.admin-nav-item-v2 i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.15s ease;
}

.admin-nav-item-v2:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.admin-nav-item-v2:hover i {
    color: #0284c7;
}

.admin-nav-item-v2.active {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    border-left-color: #0284c7;
}

.admin-nav-item-v2.active i {
    color: #0284c7;
}

/* User Profile Footer */
.sidebar-user-footer {
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 12px;
}

.user-avatar-initials {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #071A33;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================================================
   MOBILE-FIRST RESPONSIVE ENGINE & TOUCH OPTIMIZATION
   ================================================== */
.admin-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 4px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.admin-mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    transition: color 0.15s ease;
}

.admin-mobile-nav-link i {
    font-size: 18px;
}

.admin-mobile-nav-link.active, .admin-mobile-nav-link:hover {
    color: #0284c7;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 60px; /* Space for bottom mobile nav */
    }
    
    /* Touch Target Minimum Sizing */
    .btn, .form-control, .form-select, .nav-link {
        min-height: 44px;
    }
    
    .btn-sm {
        min-height: 36px;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

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

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

/* ==================================================
   VERTICAL ARTICLE CAROUSEL & EDITORIAL V5 ENGINE
   ================================================== */
.hero-slide-bg-full {
    width: 100%;
    min-height: 640px;
    height: 640px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.hero-slide-overlay-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 26, 51, 0.92) 0%, rgba(7, 26, 51, 0.72) 45%, rgba(7, 26, 51, 0.25) 100%);
    z-index: 1;
}

.vertical-carousel-container {
    position: relative;
    height: 636px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(18, 97, 168, 0.12);
    box-shadow: 0 16px 40px -12px rgba(7, 26, 51, 0.08);
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
}

.vertical-carousel-viewport {
    height: 581px; /* Exactly 6 FULL cards (6 * 82px = 492px) + 6 gaps (48px) + 50% of 7th card (41px) = 581px */
    overflow: hidden;
    position: relative;
}

.vertical-carousel-track {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-article-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 8px;
    background: #ffffff;
    border: 1px solid rgba(18, 97, 168, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: var(--mf-text);
    transition: all 0.25s ease;
    height: 82px;
    flex-shrink: 0;
}

.vertical-article-card:hover {
    background: var(--mf-very-light-blue);
    border-color: var(--mf-bright-blue);
    transform: translateX(4px);
}

.vertical-article-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.vertical-carousel-controls {
    position: absolute;
    right: 0.85rem;
    bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.v-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(18, 97, 168, 0.2);
    color: var(--mf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    font-size: 12px;
}

.v-nav-btn:hover {
    background: var(--mf-bright-blue);
    color: #ffffff;
    border-color: var(--mf-bright-blue);
}

/* ==================================================
   PURPOSE-BUILT MOBILE UI/UX ENGINE (< 992px & < 768px)
   DESKTOP (>= 992px) REMAINS 100% UNTOUCHED & PERFECT
   ================================================== */
@media (max-width: 991.98px) {
    /* Dedicated Mobile Header */
    .sticky-glass-header {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(18, 97, 168, 0.12);
        box-shadow: 0 4px 20px rgba(7, 26, 51, 0.06);
    }
    
    .sticky-glass-header .navbar {
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }
    
    .brand-logo-img {
        height: 32px !important;
    }
    
    .brand-title {
        font-size: 1.1rem !important;
    }

    /* Offcanvas App Drawer */
    .offcanvas-start {
        width: 320px !important;
        border-radius: 0 20px 20px 0;
        box-shadow: 8px 0 32px rgba(7, 26, 51, 0.15);
    }

    .offcanvas-body .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        border-radius: 12px;
        padding: 0.5rem 1rem !important;
        transition: background 0.2s ease;
    }

    .offcanvas-body .nav-link:active {
        background: var(--mf-very-light-blue);
    }
}

@media (max-width: 767.98px) {
    /* Dedicated Mobile Hero */
    .hero-slide-bg-full {
        min-height: 540px !important;
        height: 540px !important;
    }

    .hero-slide-overlay-left {
        background: linear-gradient(180deg, rgba(7, 26, 51, 0.88) 0%, rgba(7, 26, 51, 0.78) 60%, rgba(7, 26, 51, 0.92) 100%) !important;
    }

    .hero-slide-bg-full h1.display-3 {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }

    .hero-slide-bg-full p.lead {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-slide-bg-full .btn-lg {
        padding: 0.65rem 1.4rem !important;
        font-size: 0.9rem !important;
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Dedicated 2-Column Mobile Product Grid */
    .prod-card-v4 {
        border-radius: 14px !important;
    }

    .prod-card-v4 .card-body {
        padding: 0.75rem !important;
    }

    .prod-card-v4 h3 {
        font-size: 0.85rem !important;
    }

    /* Dedicated Mobile Collection & Journal Horizontal Touch Carousels */
    .category-tile-v4 {
        padding: 1rem !important;
        border-radius: 14px !important;
    }

    .vertical-carousel-container {
        height: auto !important;
        max-height: 520px !important;
        padding: 0.75rem !important;
    }

    .vertical-carousel-viewport {
        height: 440px !important;
    }

    /* Mobile Accordion Footer */
    .footer-v4 {
        padding-top: 2.5rem !important;
        padding-bottom: 5rem !important;
    }

    .footer-v4 h6 {
        font-size: 0.8rem !important;
        letter-spacing: 0.1em !important;
        margin-top: 1rem;
    }

    /* Touch Control Minimum Sizes (44px x 44px) */
    button, a, input, select {
        touch-action: manipulation;
    }

    /* 1. Mobile Home Page Quick Discovery Navigation */
    .mobile-quick-discovery {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.75rem 1rem;
        scrollbar-width: none;
        background: #ffffff;
        border-bottom: 1px solid rgba(18, 97, 168, 0.08);
    }
    .mobile-quick-discovery::-webkit-scrollbar { display: none; }
    .mobile-quick-chip {
        flex-shrink: 0;
        padding: 0.4rem 1rem;
        border-radius: 50rem;
        background: var(--mf-very-light-blue);
        color: var(--mf-primary);
        font-size: 0.8rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        border: 1px solid rgba(18, 97, 168, 0.15);
    }

    /* 2. Mobile Blog Page Category Chips */
    .mobile-blog-chips {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem 0;
        scrollbar-width: none;
    }
    .mobile-blog-chips::-webkit-scrollbar { display: none; }

    /* 3. Mobile Contact Page Quick Action Cards */
    .mobile-contact-card {
        padding: 1.25rem;
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid rgba(18, 97, 168, 0.12);
        box-shadow: 0 4px 16px rgba(7, 26, 51, 0.04);
        margin-bottom: 1rem;
    }
    .mobile-contact-card .btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    /* 4. Mobile About Page Stacked Cards */
    .mobile-about-card {
        border-radius: 16px;
        padding: 1.25rem;
        margin-bottom: 1rem;
        background: #ffffff;
        border: 1px solid rgba(18, 97, 168, 0.1);
    }

    /* 5. Mobile Shop Page Sticky Filter Bar */
    .mobile-shop-bar {
        position: sticky;
        top: 56px;
        z-index: 1020;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        padding: 0.6rem 1rem;
        border-bottom: 1px solid rgba(18, 97, 168, 0.12);
    }

    /* Fixed Mobile Bottom Navigation Styling (< 768px Only) */
    .mobile-bottom-nav {
        height: 60px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.96) !important;
        border-top: 1px solid rgba(18, 97, 168, 0.12) !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }

    .mobile-nav-item {
        color: #64748b;
        transition: all 0.2s ease;
        flex: 1;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:active {
        color: var(--mf-bright-blue) !important;
        transform: translateY(-2px);
    }

    .mobile-nav-item i {
        transition: transform 0.2s ease;
    }

    .mobile-nav-item.active i {
        color: var(--mf-bright-blue) !important;
    }
}

/* ==================================================
   ULTRA-PREMIUM SAAS ADMIN CONSOLE (MOBILE SAAS & DESKTOP ENGINE)
   ================================================== */
@media (max-width: 991.98px) {
    .admin-sidebar-v2 {
        display: none !important;
    }
    .admin-shell-main {
        margin-left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-bottom: 80px !important;
    }
    .admin-mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(7, 26, 51, 0.96) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        z-index: 1040;
        display: flex !important;
        align-items: center;
        justify-content: space-around;
        padding: 4px 8px;
    }
    .admin-mobile-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        text-decoration: none;
        font-size: 10px;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    .admin-mobile-nav-link i {
        font-size: 20px;
        margin-bottom: 2px;
    }
    .admin-mobile-nav-link.active,
    .admin-mobile-nav-link:active {
        color: #38bdf8 !important;
    }
}

/* ==================================================
   MIND FORG DESKTOP HOMEPAGE REDESIGN STYLES
   ================================================== */

.sticky-glass-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.editorial-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mf-bright-blue);
    display: inline-block;
}

.hero-editorial-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(7, 26, 51, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-line {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-insight-card {
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(7, 26, 51, 0.12);
}

.topic-card-v5 {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.topic-card-v5:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(18, 97, 168, 0.12), 0 10px 10px -5px rgba(18, 97, 168, 0.04);
    border-color: var(--mf-bright-blue);
}

.topic-card-v5 .topic-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.topic-card-v5:hover .topic-arrow {
    transform: translateX(5px);
    color: var(--mf-bright-blue) !important;
}

.topic-number-badge {
    font-family: var(--mf-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mf-primary);
    opacity: 0.7;
}

.bias-card-dark {
    background: linear-gradient(145deg, #071A33 0%, #0F2847 100%);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bias-card-dark:hover {
    transform: translateY(-4px);
    border-color: var(--mf-bright-blue);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.brain-science-section {
    background: linear-gradient(180deg, #040E1E 0%, #071A33 100%);
    color: #ffffff;
}

.progression-step {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #E2E8F0;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    height: 100%;
}

.progression-step:hover {
    transform: translateY(-3px);
    border-color: var(--mf-primary);
    box-shadow: 0 10px 20px rgba(18, 97, 168, 0.08);
}

.ei-pillar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    height: 100%;
}

.ei-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: var(--mf-primary);
}

.decision-pathway-box {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px dashed #CBD5E1;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--mf-dark-navy);
    transition: all 0.3s ease;
}

.decision-pathway-box:hover {
    background: #EAF6FF;
    border-color: var(--mf-bright-blue);
    border-style: solid;
}

/* ==================================================
   MARKETPLACE & CONTENT CROSSOVER STYLES
   ================================================== */

.marketplace-card-v6 {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.marketplace-card-v6:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(18, 97, 168, 0.12);
    border-color: var(--mf-bright-blue);
}

.purpose-card-v6 {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    height: 100%;
}

.purpose-card-v6:hover {
    transform: translateY(-4px);
    border-color: var(--mf-bright-blue);
    background: var(--mf-very-light-blue);
    box-shadow: 0 12px 24px rgba(18, 97, 168, 0.08);
}

.crossover-box {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 32px;
    transition: all 0.3s ease;
}

.crossover-box:hover {
    box-shadow: 0 20px 40px rgba(7, 26, 51, 0.08);

/* Vertical Auto-Scroll Ticker for Latest Thinking Side Articles */
@keyframes verticalTicker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.latest-ticker-wrapper {
    max-height: 520px;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.latest-ticker-wrapper::before,
.latest-ticker-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 24px;
    z-index: 2;
    pointer-events: none;
}
.latest-ticker-wrapper::before {
    top: 0;
    background: linear-gradient(180deg, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
}
.latest-ticker-wrapper::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
}

.latest-ticker-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: verticalTicker 24s linear infinite;
}


/* ==================================================
   MIND FORG ADMIN — EMERGENCY UI/UX VISUAL CORRECTION SYSTEM
   ================================================== */
body.admin-body {
    background-color: #050505 !important;
    color: #FFFFFF !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Sidebar Shell */
.admin-sidebar-v7 {
    background: #050505 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Main Shell Background */
.admin-shell-main {
    margin-left: 250px;
    background-color: #050505 !important;
    color: #FFFFFF !important;
    min-height: 100vh;
}

@media (max-width: 991.98px) {
    .admin-shell-main {
        margin-left: 0 !important;
    }
}

/* OVERRIDE BOOTSTRAP LIGHT SURFACES GLOBALLY INSIDE ADMIN */
.admin-shell-main .bg-white,
.admin-shell-main .bg-light,
.admin-shell-main .card,
.admin-shell-main .modal-content,
.admin-shell-main .dropdown-menu,
.admin-shell-main .list-group-item {
    background-color: #080D18 !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* TEXT CONTRAST GUARANTEE: NEVER WHITE ON WHITE */
.admin-shell-main h1, .admin-shell-main h2, .admin-shell-main h3, 
.admin-shell-main h4, .admin-shell-main h5, .admin-shell-main h6,
.admin-shell-main .h1, .admin-shell-main .h2, .admin-shell-main .h3, 
.admin-shell-main .h4, .admin-shell-main .h5, .admin-shell-main .h6,
.admin-shell-main strong, .admin-shell-main .text-dark, .admin-shell-main .fw-bold {
    color: #FFFFFF !important;
}

.admin-shell-main p, .admin-shell-main span, 
.admin-shell-main .text-secondary, .admin-shell-main .text-muted,
.admin-shell-main label, .admin-shell-main small {
    color: #94A3B8 !important;
}

/* REFINED ELEGANT SIDEBAR MENU BUTTONS */
.admin-nav-link-v7 {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #E5E7EB !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 0.35rem;
}

.admin-nav-link-v7:hover {
    background-color: #0D1628;
    border-color: rgba(255, 122, 0, 0.3);
    color: #FFFFFF !important;
}

.admin-nav-link-v7.active {
    background: #FF7A00 !important;
    border-color: #FF7A00 !important;
    color: #FFFFFF !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.4) !important;
}

.admin-nav-link-v7 i {
    font-size: 1rem;
    margin-right: 0.75rem;
    color: #CBD5E1;
}

.admin-nav-link-v7.active i {
    color: #FFFFFF !important;
}

/* TOPBAR */
.admin-topbar-v7 {
    background: #050505 !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* CARDS & PANELS */
.admin-card-v7 {
    background: #080D18 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

.admin-card-orange {
    background: #0D1628 !important;
    border: 1px solid rgba(255, 122, 0, 0.3) !important;
    border-top: 3px solid #FF7A00 !important;
    border-radius: 14px !important;
    color: #FFFFFF !important;
}

/* TABLES */
.admin-shell-main table,
.admin-shell-main .table,
.table-dark-v7 {
    --bs-table-bg: transparent !important;
    --bs-table-color: #FFFFFF !important;
    --bs-table-border-color: rgba(255, 255, 255, 0.08) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
}

.admin-shell-main table thead,
.admin-shell-main .table thead,
.admin-shell-main .table-light,
.admin-shell-main th {
    background-color: #0D1628 !important;
    color: #94A3B8 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.admin-shell-main td {
    color: #FFFFFF !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-shell-main table tr:hover td {
    background-color: rgba(255, 122, 0, 0.05) !important;
}

/* FORM INPUTS */
.admin-shell-main .form-control,
.admin-shell-main .form-select,
.admin-shell-main input,
.admin-shell-main select,
.admin-shell-main textarea {
    background-color: #080D18 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #FFFFFF !important;
}

.admin-shell-main .form-control::placeholder,
.admin-shell-main textarea::placeholder {
    color: #64748B !important;
}

.admin-shell-main .form-control:focus,
.admin-shell-main .form-select:focus {
    border-color: #FF7A00 !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25) !important;
    color: #FFFFFF !important;
}

/* BUTTONS */
.btn-orange {
    background: #FF7A00 !important;
    border: none !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35) !important;
}

.btn-orange:hover {
    background: #FF8A1A !important;
    color: #FFFFFF !important;
}

.btn-outline-orange {
    background: transparent !important;
    border: 1px solid #FF7A00 !important;
    color: #FF7A00 !important;
    font-weight: 600 !important;
}

.btn-outline-orange:hover {
    background: #FF7A00 !important;
    color: #FFFFFF !important;
}
























