/* ========================================
   COMPONENTS - Buttons, Cards, Navigation, Forms
   ======================================== */

/* Primary Button */
.btn-primary {
    background-color: oklch(var(--primary));
    color: oklch(var(--primary-foreground));
    transition: all 0.2s ease;
    border-radius: var(--radius-lg);
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    box-shadow: 0 0 20px -5px oklch(var(--primary) / 0.5);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Glass Navigation */
.glass-nav {
    background-color: color-mix(in oklch, oklch(var(--background)), transparent 20%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid oklch(var(--border));
}

/* Card Base */
.card {
    background-color: oklch(var(--surface) / 0.5);
    border: 1px solid oklch(var(--border));
    border-radius: var(--radius-lg);
    transition: border-color 0.3s ease;
}

.card:hover {
    border-color: oklch(var(--primary) / 0.4);
}

/* Placeholder System */
.placeholder-box {
    background-color: oklch(var(--surface));
    border: 1px dashed oklch(var(--border));
    color: oklch(var(--muted-foreground));
    font-family: 'Courier New', monospace;
    border-radius: var(--radius-lg);
}

/* Input Field */
.input-ring {
    background-color: #1A1A1E;
    border: 1px solid #2E2E33;
    border-radius: var(--radius-lg);
}

.input-ring:focus-within {
    border-color: oklch(var(--primary));
    box-shadow: 0 0 0 2px oklch(var(--primary) / 0.2);
}

/* ========================================
   POST CARDS - Social Media Style
   ======================================== */

.post-card {
    background: #1A1A1E;
    border: 1px solid #2E2E33;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4), 0px 0px 40px rgba(99, 102, 241, 0.05);
}

.post-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* New Card Design V2 - Premium */
.post-card-v2 {
    background: linear-gradient(145deg, #0F172A 0%, #1E1B4B 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 14px;
    box-shadow:
        0px 4px 24px rgba(0, 0, 0, 0.4),
        0px 0px 40px rgba(99, 102, 241, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .post-card-v2 {
        border-radius: 16px;
        padding: 20px;
    }
}

.post-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.post-card-v2:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0px 8px 32px rgba(0, 0, 0, 0.5),
        0px 0px 60px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    overflow: hidden;
}

.card-icon svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 640px) {
    .card-icon {
        width: 44px;
        height: 44px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Platform-specific icon styles - transparent, clean */
.card-icon.reddit,
.card-icon.twitter,
.card-icon.facebook,
.card-icon.instagram,
.card-icon.tiktok,
.card-icon.youtube,
.card-icon.linkedin,
.card-icon.portal {
    background: transparent;
}

/* Support for img elements inside card-icon */
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card-title-wrap {
    flex: 1;
    min-width: 0;
}

.card-title {
    font-size: 13px;
    font-weight: 700;
    color: #F1F5F9;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

@media (min-width: 640px) {
    .card-title {
        font-size: 14px;
    }
}

.card-meta {
    font-size: 11px;
    color: #64748B;
    text-align: left;
}

.card-meta span {
    color: #A5B4FC;
    font-weight: 500;
}

.card-text {
    font-size: 12px;
    color: #CBD5E1;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1E293B;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 640px) {
    .card-metrics {
        gap: 16px;
    }
}

.metric {
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 640px) {
    .metric {
        font-size: 11px;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 8px;
    }
}

.metric .label {
    color: #64748B;
    font-weight: 500;
}

.metric .value {
    font-weight: 700;
    color: #E2E8F0;
}

.metric .value.negative {
    color: #F87171;
}

.metric .value.positive {
    color: #4ADE80;
}

.metric .value.neutral {
    color: #FBBF24;
}

/* ========================================
   CARD GLOW EFFECTS
   ======================================== */

.card-glow-indigo {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.05),
        0 20px 50px -15px rgba(99, 102, 241, 0.15),
        0 0 80px -20px rgba(99, 102, 241, 0.1);
    transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.card-glow-indigo:hover {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 25px 60px -15px rgba(99, 102, 241, 0.25),
        0 0 100px -20px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.card-glow-red {
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.05),
        0 20px 50px -15px rgba(239, 68, 68, 0.15),
        0 0 80px -20px rgba(239, 68, 68, 0.1);
    transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.card-glow-red:hover {
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.1),
        0 25px 60px -15px rgba(239, 68, 68, 0.25),
        0 0 100px -20px rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.card-glow-blue {
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.05),
        0 20px 50px -15px rgba(59, 130, 246, 0.15),
        0 0 80px -20px rgba(59, 130, 246, 0.1);
    transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.card-glow-blue:hover {
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.1),
        0 25px 60px -15px rgba(59, 130, 246, 0.25),
        0 0 100px -20px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.card-glow-orange {
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.05),
        0 20px 50px -15px rgba(249, 115, 22, 0.15),
        0 0 80px -20px rgba(249, 115, 22, 0.1);
    transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.card-glow-orange:hover {
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.1),
        0 25px 60px -15px rgba(249, 115, 22, 0.25),
        0 0 100px -20px rgba(249, 115, 22, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   BADGES & INDICATORS
   ======================================== */

/* Badges */
.summary-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.badge-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.badge-item.danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.badge-item.neutral {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #CBD5E1;
}

.badge-item.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86EFAC;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

/* Insight Badges */
.insight-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.insight-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: 9999px;
    font-size: 9px;
    font-weight: 500;
}

.insight-badge svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .insight-badges {
        gap: 10px;
        margin-bottom: 16px;
    }

    .insight-badge {
        gap: 6px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .insight-badge svg {
        width: 14px;
        height: 14px;
    }
}

.insight-badge.danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.insight-badge.neutral {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94A3B8;
}

.insight-badge.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ADE80;
}

.insight-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #FBBF24;
}

/* Insight Title & Description */
.insight-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    text-align: left;
}

.insight-description {
    font-size: 11px;
    color: #64748B;
    line-height: 1.5;
    text-align: left;
}

@media (min-width: 640px) {
    .insight-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .insight-description {
        font-size: 14px;
    }
}

.insight-description .highlight {
    color: #60A5FA;
    font-weight: 600;
}

.insight-description .highlight-amber {
    color: #FBBF24;
    font-weight: 600;
}

/* ========================================
   REACTION FOCUS CONTAINER (Detection Sources)
   ======================================== */

.reaction-focus-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

/* Label styling */
.reaction-focus-container>span:first-child {
    font-size: 10px !important;
    color: #94a3b8 !important;
    margin-right: 2px !important;
    white-space: nowrap;
}

/* Badge styling (dynamically created divs with flex) */
.reaction-focus-container>div {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 8px !important;
    border-radius: 9999px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Badge icons */
.reaction-focus-container>div img {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

/* Desktop styles */
@media (min-width: 640px) {
    .reaction-focus-container {
        gap: 8px;
        margin-top: 12px;
    }

    .reaction-focus-container>span:first-child {
        font-size: 12px !important;
        margin-right: 4px !important;
    }

    .reaction-focus-container>div {
        padding: 5px 10px !important;
        font-size: 11px !important;
        gap: 6px !important;
    }

    .reaction-focus-container>div img {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Extra small mobile - stack the label and badges */
@media (max-width: 380px) {
    .reaction-focus-container {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
    }

    .reaction-focus-container>span:first-child {
        font-size: 9px !important;
        margin-bottom: 2px;
    }

    /* Create a wrapper effect for badges on small screens */
    .reaction-focus-container>div {
        padding: 3px 6px !important;
        font-size: 9px !important;
        gap: 3px !important;
    }

    .reaction-focus-container>div img {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ========================================
   USER PREVIEW LIST (Insight Card)
   ======================================== */

.insight-user-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.user-preview-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.user-preview-item:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.user-preview-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.user-preview-name {
    font-size: 10px;
    font-weight: 500;
    color: #E2E8F0;
    white-space: nowrap;
}

.user-preview-more {
    font-size: 10px;
    font-weight: 600;
    color: #FBBF24;
    padding: 3px 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
}

@media (min-width: 640px) {
    .insight-user-preview {
        gap: 10px;
        margin-bottom: 14px;
        padding: 12px 14px;
    }

    .user-preview-item {
        gap: 8px;
        padding: 5px 12px 5px 5px;
    }

    .user-preview-icon {
        width: 22px;
        height: 22px;
    }

    .user-preview-name {
        font-size: 12px;
    }

    .user-preview-more {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ========================================
   MODE SWITCH / TAB STYLES - Premium Segment Control
   ======================================== */

/* Label above tabs */
.segment-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

/* Segment Control Container */
.segment-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 5px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Sliding Indicator */
.segment-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 10px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.35s ease,
        box-shadow 0.35s ease;
    box-shadow:
        0 2px 12px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 1;
}

/* Politics mode indicator */
.segment-indicator.politics-mode {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow:
        0 2px 12px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Indicator position when second tab is active */
.segment-indicator.position-1 {
    transform: translateX(100%);
}

/* Segment Tab Button */
.segment-tab {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.25s ease;
    white-space: nowrap;
    min-width: 140px;
}

.segment-tab span {
    position: relative;
    z-index: 2;
}

/* Segment Tab Icon */
.segment-icon {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

/* Hover State */
.segment-tab:hover:not(.active) {
    color: #cbd5e1;
}

.segment-tab:hover:not(.active) .segment-icon {
    opacity: 0.9;
}

/* Active Tab */
.segment-tab.active {
    color: #ffffff;
}

.segment-tab.active .segment-icon {
    opacity: 1;
}

/* Legacy kontrola-tab overrides for compatibility */
.kontrola-tab {
    background: transparent;
    border: none;
}

.kontrola-tab.active {
    background: transparent;
    box-shadow: none;
    border: none;
}

.kontrola-tab.active.politics-mode {
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Content transitions */
.kontrola-content {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.kontrola-content.hidden {
    display: none;
}

/* Politics mode container glow */
#content-politics .card-glow-indigo {
    border-color: rgba(239, 68, 68, 0.2);
}

#content-politics .kontrola-glow-1 {
    background: rgba(239, 68, 68, 0.08);
}

.mode-switch-container.politics-active {
    border-color: rgba(239, 68, 68, 0.15);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(239, 68, 68, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Tab Responsive - Tablet */
@media (max-width: 640px) {
    .segment-control {
        padding: 4px;
        border-radius: 12px;
    }

    .segment-indicator {
        top: 4px;
        left: 4px;
        height: calc(100% - 8px);
        width: calc(50% - 4px);
        border-radius: 8px;
    }

    .segment-tab {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
        min-height: 44px;
        min-width: 120px;
        gap: 0.375rem;
    }

    .segment-icon {
        width: 0.875rem;
        height: 0.875rem;
    }
}

/* Tab Responsive - Small Mobile */
@media (max-width: 380px) {
    .segment-label {
        font-size: 0.5625rem;
    }

    .segment-control {
        padding: 3px;
        border-radius: 10px;
    }

    .segment-indicator {
        top: 3px;
        left: 3px;
        height: calc(100% - 6px);
        width: calc(50% - 3px);
        border-radius: 7px;
    }

    .segment-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.6875rem;
        min-height: 40px;
        min-width: 100px;
        gap: 0.25rem;
    }

    .segment-icon {
        width: 0.75rem;
        height: 0.75rem;
    }
}

/* ========================================
   MOBILE-FIRST COMPONENT OVERRIDES
   ======================================== */

@media (max-width: 768px) {

    /* Input field mobile sizing */
    .input-ring {
        padding: 8px;
    }

    .input-ring input {
        font-size: 16px;
        /* Prevents iOS zoom */
    }

    /* Footer mobile adjustments */
    .desentix-footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .brand-tagline {
        font-size: 0.8125rem;
    }

    /* Card glow effects - reduce on mobile for performance */
    .card-glow-indigo,
    .card-glow-red,
    .card-glow-blue,
    .card-glow-orange {
        box-shadow:
            0 0 0 1px rgba(99, 102, 241, 0.05),
            0 10px 30px -10px rgba(99, 102, 241, 0.1);
    }

    .card-glow-indigo:hover,
    .card-glow-red:hover,
    .card-glow-blue:hover,
    .card-glow-orange:hover {
        transform: none;
    }
}

@media (max-width: 480px) {

    /* Extra small mobile adjustments */
    .badge-item {
        font-size: 10px;
        padding: 4px 8px;
    }

    .badge-item svg {
        width: 12px;
        height: 12px;
    }
}

/* ========================================
   NAV LOGIN LINK - Micro Interactions
   ======================================== */

.nav-login-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-login-link:hover {
    color: #fff;
}

.nav-login-link svg {
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-login-link:hover svg {
    opacity: 1;
    color: #A5B4FC;
}

.nav-login-link:active {
    transform: scale(0.98);
}

.nav-login-link:active svg {
    transform: translate(1px, -1px);
}

/* ========================================
   DESKTOP DROPDOWN NAVIGATION
   ======================================== */

.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: oklch(var(--muted-foreground));
    transition: color 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-dropdown-trigger:hover {
    color: oklch(var(--foreground));
}

.nav-dropdown-trigger svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-content {
    width: 21rem;
    background: rgba(11, 13, 23, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.nav-dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-header span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #6366f1;
}

.nav-dropdown-items {
    padding: 0.5rem;
}

.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-item-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.nav-dropdown-item-icon.indigo {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.indigo {
    background: rgba(99, 102, 241, 0.2);
}

.nav-dropdown-item-icon.amber {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.amber {
    background: rgba(245, 158, 11, 0.2);
}

.nav-dropdown-item-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.purple {
    background: rgba(139, 92, 246, 0.2);
}

.nav-dropdown-item-icon svg {
    width: 1rem;
    height: 1rem;
}

.nav-dropdown-item-text {
    flex: 1;
}

.nav-dropdown-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
    color: #a5b4fc;
}

.nav-dropdown-item-title .badge-live {
    font-size: 0.5625rem;
    font-weight: 700;
    background: #f59e0b;
    color: #000;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-dropdown-item-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.125rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
}

.nav-dropdown-item:hover .nav-dropdown-item-desc {
    max-height: 4rem;
    opacity: 1;
    margin-top: 0.25rem;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0.5rem 0;
}

.nav-dropdown-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-dropdown-item.disabled .nav-dropdown-item-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
}

.nav-dropdown-item.disabled .nav-dropdown-item-title {
    color: #64748b;
}

/* Two-column dropdown (wide) */
.nav-dropdown-menu.nav-dropdown-wide {
    left: 50%;
    transform: translateX(-50%);
}

.nav-dropdown-menu.nav-dropdown-wide .nav-dropdown-content {
    width: 64rem;
    max-width: calc(100vw - 2rem);
}

/* ===============================================
   PREMIUM MEGA MENU - Descript Style
   =============================================== */
.nav-megamenu-premium {
    display: grid;
    grid-template-columns: 1fr 260px;
    background: #0f172a;
    border-radius: 0.75rem;
    overflow: hidden;
    width: 100%;
}

/* Main Content Area - 3 columns */
.nav-megamenu-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 0;
    padding: 1.5rem;
}

/* Group Section */
.nav-megamenu-group {
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-megamenu-group:last-child {
    border-right: none;
    padding-right: 0.5rem;
}

.nav-megamenu-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.nav-megamenu-group-title svg {
    color: #475569;
}

.nav-megamenu-group-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Card Item - Descript Style */
.nav-megamenu-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-megamenu-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.nav-megamenu-card:hover .nav-megamenu-card-icon {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #818cf8;
}

.nav-megamenu-card:hover .nav-megamenu-card-title {
    color: #fff;
}

/* Icon Box */
.nav-megamenu-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all 0.15s ease;
}

.nav-megamenu-card-icon svg {
    width: 1rem;
    height: 1rem;
}

/* Card Content */
.nav-megamenu-card-content {
    flex: 1;
    min-width: 0;
}

.nav-megamenu-card-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.3;
    margin-bottom: 0.125rem;
    transition: color 0.15s ease;
}

.nav-megamenu-card-desc {
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.4;
}

/* Promo Panel */
.nav-megamenu-promo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-left: 1px solid rgba(99, 102, 241, 0.15);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-megamenu-promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.nav-megamenu-promo-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.nav-megamenu-promo-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.nav-megamenu-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-megamenu-promo-link:hover {
    color: #a5b4fc;
    gap: 0.5rem;
}

.nav-megamenu-promo-link svg {
    transition: transform 0.15s ease;
}

.nav-megamenu-promo-link:hover svg {
    transform: translateX(2px);
}

/* ===============================================
   SPLIT-PANEL MEGA MENU - Premium Design
   =============================================== */
.nav-megamenu-split {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: rgba(11, 13, 23, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 80px -20px rgba(99, 102, 241, 0.15);
    min-height: 340px;
}

/* Left Panel - Navigation List */
.nav-megamenu-list {
    padding: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Section Block */
.nav-megamenu-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-megamenu-section-title {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    padding: 0 0.5rem 0.375rem;
    margin-bottom: 0.125rem;
}

.nav-megamenu-section-items {
    display: flex;
    flex-direction: column;
}

/* Navigation Link */
.nav-megamenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-megamenu-link:hover {
    background: rgba(99, 102, 241, 0.1);
}

.nav-megamenu-link-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e2e8f0;
    transition: color 0.15s ease;
}

.nav-megamenu-link:hover .nav-megamenu-link-text {
    color: #fff;
}

.nav-megamenu-link-arrow {
    width: 0.875rem;
    height: 0.875rem;
    color: #475569;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.15s ease;
}

.nav-megamenu-link:hover .nav-megamenu-link-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #818cf8;
}

/* Right Panel - Preview */
.nav-megamenu-preview {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.5) 0%, rgba(30, 27, 75, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 320px;
}

/* Preview Content */
.nav-preview-content {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    animation: previewFadeIn 0.2s ease-out;
}

.nav-preview-content.active {
    display: flex;
}

@keyframes previewFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.nav-preview-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-bottom: 1rem;
}

.nav-preview-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #a5b4fc;
}

.nav-preview-icon.indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.nav-preview-icon.indigo svg {
    color: #818cf8;
}

.nav-preview-icon.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.nav-preview-icon.amber svg {
    color: #fbbf24;
}

.nav-preview-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.nav-preview-icon.purple svg {
    color: #a78bfa;
}

.nav-preview-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.nav-preview-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 280px;
}

.nav-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    margin-left: -0.75rem;
    border-radius: 0.5rem;
}

.nav-preview-cta:hover {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
}

.nav-preview-cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.nav-preview-cta:hover svg {
    transform: translateX(3px);
}

/* Legacy column styles (keep for backwards compat) */
.nav-dropdown-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.nav-dropdown-column {
    padding: 0;
}

.nav-dropdown-column:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-column .nav-dropdown-header {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.nav-dropdown-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.nav-dropdown-column .nav-dropdown-header span {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.nav-dropdown-tagline {
    font-size: 0.625rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #64748b !important;
    opacity: 0.8;
}

.nav-dropdown-column .nav-dropdown-header svg {
    color: #64748b;
    margin-top: 0.125rem;
}

/* Color-coded header variants */
.nav-dropdown-header-emerald svg {
    color: #34d399 !important;
}

.nav-dropdown-header-emerald span:first-child {
    color: #6ee7b7 !important;
}

.nav-dropdown-header-purple svg {
    color: #a78bfa !important;
}

.nav-dropdown-header-purple span:first-child {
    color: #c4b5fd !important;
}

.nav-dropdown-header-amber svg {
    color: #fbbf24 !important;
}

.nav-dropdown-header-amber span:first-child {
    color: #fcd34d !important;
}

/* Slate (monochrome premium) icon variant */
.nav-dropdown-item-icon.slate {
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.15);
    color: #94a3b8;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.slate {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
}

/* Additional icon color variants */
.nav-dropdown-item-icon.emerald {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.emerald {
    background: rgba(16, 185, 129, 0.2);
}

.nav-dropdown-item-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.blue {
    background: rgba(59, 130, 246, 0.2);
}

.nav-dropdown-item-icon.teal {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: #2dd4bf;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.teal {
    background: rgba(20, 184, 166, 0.2);
}

.nav-dropdown-item-icon.rose {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #fb7185;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon.rose {
    background: rgba(244, 63, 94, 0.2);
}

/* ========================================
   MOBILE NAVIGATION - Optimized UX
   ======================================== */

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
    z-index: 40;
}

.mobile-menu.open {
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    opacity: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-content {
    padding: 0 0 calc(env(safe-area-inset-bottom) + 100px) 0;
    min-height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Custom Scrollbar for Mobile Menu */
.mobile-menu-content::-webkit-scrollbar {
    width: 3px;
}

.mobile-menu-content::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-menu-content::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.mobile-menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Staggered Animation for Menu Items */
.mobile-menu.open .mobile-nav-link,
.mobile-menu.open .mobile-platform-link,
.mobile-menu.open .mobile-section-header {
    animation: mobileSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-menu.open .mobile-platform-link:nth-child(1) {
    animation-delay: 0.05s;
}

.mobile-menu.open .mobile-platform-link:nth-child(2) {
    animation-delay: 0.08s;
}

.mobile-menu.open .mobile-platform-link:nth-child(3) {
    animation-delay: 0.11s;
}

.mobile-menu.open .mobile-platform-link:nth-child(4) {
    animation-delay: 0.14s;
}

.mobile-menu.open .mobile-platform-link:nth-child(5) {
    animation-delay: 0.17s;
}

.mobile-menu.open .mobile-platform-link:nth-child(6) {
    animation-delay: 0.20s;
}

@keyframes mobileSlideIn {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Nav Link - Enhanced Touch Feedback */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.15s ease;
    min-height: 52px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: rgba(99, 102, 241, 0.1);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.mobile-nav-link:active::before {
    opacity: 1;
}

.mobile-nav-link:active {
    transform: scale(0.97);
}

.mobile-nav-link svg {
    opacity: 0.7;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.mobile-nav-link:active svg {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Mobile Accordion Section */
.mobile-accordion {
    margin: 0.25rem 0;
}

.mobile-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    cursor: pointer;
    border-radius: 0.75rem;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-accordion-header:active {
    background: rgba(255, 255, 255, 0.03);
}

.mobile-accordion-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-accordion-header-left i {
    width: 1rem;
    height: 1rem;
    color: #64748b;
}

.mobile-accordion-title {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
}

.mobile-accordion-arrow {
    width: 1rem;
    height: 1rem;
    color: #475569;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-accordion.open .mobile-accordion-arrow {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-accordion.open .mobile-accordion-content {
    max-height: 500px;
}

.mobile-accordion-inner {
    padding: 0.25rem 0 0.5rem 0;
}

/* Mobile Platform Links - Enhanced */
.mobile-platform-link {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    transition: all 0.15s ease;
    min-height: 52px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-platform-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: rgba(99, 102, 241, 0.08);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.mobile-platform-link:not(.disabled):active::before {
    opacity: 1;
}

.mobile-platform-link:not(.disabled):active {
    transform: scale(0.98);
}

.mobile-platform-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile Platform Icon - Slightly Larger for Touch */
.mobile-platform-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.mobile-platform-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.mobile-platform-icon.indigo {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #818cf8;
}

.mobile-platform-link:not(.disabled):active .mobile-platform-icon.indigo {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.35);
}

.mobile-platform-icon.amber {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.mobile-platform-link:not(.disabled):active .mobile-platform-icon.amber {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.35);
}

.mobile-platform-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

.mobile-platform-link:not(.disabled):active .mobile-platform-icon.purple {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.35);
}

.mobile-platform-icon.teal {
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.25);
    color: #5eead4;
}

.mobile-platform-link:not(.disabled):active .mobile-platform-icon.teal {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.35);
}

.mobile-platform-icon.slate {
    background: rgba(100, 116, 139, 0.12);
    border: 1px solid rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.mobile-platform-link:not(.disabled):active .mobile-platform-icon.slate {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}

.mobile-platform-icon.emerald {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.mobile-platform-link:not(.disabled):active .mobile-platform-icon.emerald {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.35);
}

.mobile-platform-icon.disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
}

/* Mobile Platform Text - Enhanced Readability */
.mobile-platform-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.mobile-platform-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.35;
}

.mobile-platform-link.disabled .mobile-platform-title {
    color: #64748b;
}

.mobile-platform-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.mobile-platform-link.disabled .mobile-platform-desc {
    color: #475569;
}

/* Section Dividers */
.mobile-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0.75rem 1rem;
}

.mobile-section-divider.thick {
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0.75rem 0;
}

/* ========================================
   MOBILE DRILL-DOWN NAVIGATION
   ======================================== */

/* Panel Container */
.mobile-nav-panels {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Individual Panels */
.mobile-nav-panel {
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.25s ease;
}

/* Main Panel (always visible initially) */
.mobile-nav-main {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-main.panel-hidden {
    transform: translateX(-100%);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

/* Sub Panels (hidden by default) */
.mobile-nav-subpanel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.99) 100%);
}

.mobile-nav-subpanel.panel-active {
    position: relative;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Category Trigger - Main Menu Item that Opens Subpanel */
.mobile-category-trigger {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    transition: all 0.15s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
}

.mobile-category-trigger:active {
    background: rgba(99, 102, 241, 0.08);
    transform: scale(0.98);
}

.mobile-category-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-category-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-category-icon.indigo {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #818cf8;
}

.mobile-category-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.mobile-category-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

.mobile-category-icon.slate {
    background: rgba(100, 116, 139, 0.12);
    border: 1px solid rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.mobile-category-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.mobile-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
}

.mobile-category-count {
    font-size: 0.75rem;
    color: #64748b;
}

.mobile-category-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #475569;
    transition: transform 0.2s ease;
}

.mobile-category-trigger:active .mobile-category-arrow {
    transform: translateX(4px);
}

/* Back Button */
.mobile-nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
}

.mobile-nav-back:active {
    background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-back svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.mobile-nav-back:active svg {
    transform: translateX(-4px);
}

/* Subpanel Header */
.mobile-subpanel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
}

.mobile-subpanel-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-subpanel-icon svg {
    width: 1rem;
    height: 1rem;
}

.mobile-subpanel-icon.indigo {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.mobile-subpanel-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.mobile-subpanel-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.mobile-subpanel-icon.slate {
    background: rgba(100, 116, 139, 0.12);
    color: #94a3b8;
}

.mobile-subpanel-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Subpanel Links */
.mobile-subpanel-links {
    padding: 0 0.5rem 1rem;
}

/* Mobile CTA Button */
.mobile-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem calc(env(safe-area-inset-bottom) + 1rem);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.98) 30%);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open~.mobile-cta-container,
.mobile-menu.open+.mobile-cta-container {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 1rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

/* Mobile Menu Button - Enhanced Animation */
#mobile-menu-btn {
    position: relative;
    transition: all 0.2s ease;
}

#mobile-menu-btn:active {
    transform: scale(0.92);
}

#mobile-menu-btn .mobile-close-icon {
    display: none;
}

#mobile-menu-btn.open .mobile-menu-icon {
    display: none;
}

#mobile-menu-btn.open .mobile-close-icon {
    display: block;
    animation: mobileCloseRotateIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mobileCloseRotateIn {
    from {
        opacity: 0;
        transform: rotate(-90deg) scale(0.8);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Body Scroll Lock when Menu Open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Badge Styles for Mobile */
.mobile-badge {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.mobile-badge.live {
    background: #f59e0b;
    color: #0f0f11;
}

.mobile-badge.new {
    background: #10b981;
    color: #fff;
}

.mobile-badge.soon {
    background: rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}

/* ========================================
   OPPORTUNITY USER LIST
   ======================================== */

.opportunity-user-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 8px;
}

/* Custom scrollbar for user list */
.opportunity-user-list::-webkit-scrollbar {
    width: 4px;
}

.opportunity-user-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.opportunity-user-list::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 2px;
}

.opportunity-user-list::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.5);
}

.opportunity-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.opportunity-user-item:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}

.opportunity-source-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: contain;
}

.opportunity-source-icon.reddit-icon {
    color: #FF4500;
}

.opportunity-user-name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #F1F5F9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opportunity-user-issue {
    font-size: 10px;
    color: #94A3B8;
    padding: 2px 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .opportunity-user-list {
        gap: 8px;
        max-height: 200px;
    }

    .opportunity-user-item {
        gap: 12px;
        padding: 10px 14px;
    }

    .opportunity-source-icon {
        width: 24px;
        height: 24px;
    }

    .opportunity-user-name {
        font-size: 13px;
    }

    .opportunity-user-issue {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* ========================================
   COMPACT SUMMARY CARD
   ======================================== */

.summary-compact {
    text-align: center;
    padding: 16px 20px !important;
}

/* Big Number + Title Hero */
.insight-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.insight-number {
    font-size: 48px;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.insight-hero-text {
    text-align: left;
}

.insight-title-compact {
    font-size: 16px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0;
    line-height: 1.2;
}

.insight-subtitle {
    font-size: 12px;
    color: #FBBF24;
    margin: 2px 0 0 0;
    font-weight: 500;
}

/* Source Summary Row */
.source-summary {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.source-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.source-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
}

.source-icon.reddit-icon {
    color: #FF4500;
}

.source-count {
    font-size: 14px;
    font-weight: 700;
    color: #E2E8F0;
}

/* CTA Button */
.insight-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: 8px;
    color: #0F0F11;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.insight-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.insight-cta i {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (min-width: 640px) {
    .summary-compact {
        padding: 20px 24px !important;
    }

    .insight-number {
        font-size: 56px;
    }

    .insight-title-compact {
        font-size: 18px;
    }

    .insight-subtitle {
        font-size: 13px;
    }

    .source-summary {
        gap: 24px;
        padding: 14px 20px;
    }

    .source-icon {
        width: 24px;
        height: 24px;
    }

    .source-count {
        font-size: 16px;
    }

    .insight-cta {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ========================================
   CONTROL PANEL - Protocol Configuration
   ======================================== */

.control-panel {
    background: rgba(15, 15, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.control-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
}

/* Setting Item */
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    position: relative;
    cursor: pointer;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(245, 158, 11, 0.3),
            transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

.setting-item:hover::before {
    opacity: 1;
}

.setting-item:active {
    transform: translateY(0) scale(0.98);
}

.setting-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.setting-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #94A3B8;
    transition: transform 0.3s ease-out, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.setting-item:hover .setting-icon-box {
    transform: scale(1.1) rotate(3deg);
}

.setting-text h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #F1F5F9;
    transition: color 0.3s ease;
}

.setting-item:hover .setting-text h4 {
    color: #FCD34D;
}

.setting-text p {
    margin: 4px 0 0 0;
    color: #64748B;
    font-size: 0.8rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.setting-item:hover .setting-text p {
    color: #94A3B8;
}

.metric-trigger {
    color: #F1F5F9;
    font-weight: 500;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

/* ========================================
   TOGGLE SWITCH - Animated
   ======================================== */

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #374151;
    border-radius: 99px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    flex-shrink: 0;
}

.toggle-knob {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Active States - Amber Theme */
.setting-item.active-amber .toggle-switch {
    background: #F59E0B;
}

.setting-item.active-amber .toggle-knob {
    transform: translateX(20px);
}

.setting-item.active-amber .setting-icon-box {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.setting-item.active-amber:hover .setting-icon-box {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

/* Active States - Red Theme (for alerts) */
.setting-item.active-red .toggle-switch {
    background: #EF4444;
}

.setting-item.active-red .toggle-knob {
    transform: translateX(20px);
}

.setting-item.active-red .setting-icon-box {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.setting-item.active-red:hover .setting-icon-box {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.setting-item.active-red:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.15);
}

.setting-item.active-red:hover::before {
    background: linear-gradient(90deg,
            transparent,
            rgba(239, 68, 68, 0.4),
            transparent);
    opacity: 1;
}

/* Active States - Amber Light (for opportunities) */
.setting-item.active-amber-light .toggle-switch {
    background: #FBBF24;
}

.setting-item.active-amber-light .toggle-knob {
    transform: translateX(20px);
}

.setting-item.active-amber-light .setting-icon-box {
    background: rgba(251, 191, 36, 0.2);
    color: #FBBF24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.setting-item.active-amber-light:hover .setting-icon-box {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.setting-item.active-amber-light:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.15);
}

.setting-item.active-amber-light:hover::before {
    background: linear-gradient(90deg,
            transparent,
            rgba(251, 191, 36, 0.4),
            transparent);
    opacity: 1;
}

/* Toggle Animation Keyframes */
@keyframes toggleOnAmber {

    0%,
    40% {
        background: #374151;
    }

    50%,
    100% {
        background: #F59E0B;
    }
}

@keyframes toggleOnRed {

    0%,
    40% {
        background: #374151;
    }

    50%,
    100% {
        background: #EF4444;
    }
}

@keyframes knobOn {

    0%,
    40% {
        transform: translateX(0);
    }

    50%,
    100% {
        transform: translateX(20px);
    }
}

/* Demo Animation Classes */
.setting-item.demo-amber .toggle-switch {
    animation: toggleOnAmber 5s infinite alternate;
}

.setting-item.demo-amber .toggle-knob {
    animation: knobOn 5s infinite alternate;
}

.setting-item.demo-amber:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.2);
}

.setting-item.demo-amber:hover::before {
    background: linear-gradient(90deg,
            transparent,
            rgba(245, 158, 11, 0.5),
            transparent);
    opacity: 1;
}

.setting-item.demo-red .toggle-switch {
    animation: toggleOnRed 5s infinite alternate;
}

.setting-item.demo-red .toggle-knob {
    animation: knobOn 5s infinite alternate;
}

.setting-item.demo-red:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.2);
}

.setting-item.demo-red:hover::before {
    background: linear-gradient(90deg,
            transparent,
            rgba(239, 68, 68, 0.5),
            transparent);
    opacity: 1;
}

/* Digest Controls */
.digest-controls {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.digest-btn {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
}

.digest-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
}

.digest-btn.active {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border-color: rgba(245, 158, 11, 0.3);
}

/* Card Glow - Amber */
.card-glow-amber {
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.05),
        0 20px 50px -15px rgba(245, 158, 11, 0.15),
        0 0 80px -20px rgba(245, 158, 11, 0.1);
    transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.card-glow-amber:hover {
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.1),
        0 25px 60px -15px rgba(245, 158, 11, 0.25),
        0 0 100px -20px rgba(245, 158, 11, 0.2);
    transform: translateY(-2px);
}

/* Control Panel Responsive */
@media (max-width: 768px) {
    .control-panel {
        border-radius: 16px;
    }

    .setting-item {
        padding: 0.625rem 0.75rem;
        border-radius: 10px;
        gap: 0.5rem;
    }

    .setting-info {
        gap: 0.625rem;
    }

    .setting-icon-box {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .setting-text h4 {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .setting-text p {
        font-size: 0.7rem;
    }

    .toggle-switch {
        width: 38px;
        height: 20px;
    }

    .toggle-knob {
        width: 16px;
        height: 16px;
    }

    .setting-item.active-amber .toggle-knob,
    .setting-item.active-red .toggle-knob,
    .setting-item.active-amber-light .toggle-knob {
        transform: translateX(18px);
    }

    @keyframes knobOn {

        0%,
        40% {
            transform: translateX(0);
        }

        50%,
        100% {
            transform: translateX(18px);
        }
    }

    .digest-controls {
        flex-direction: column;
        gap: 8px;
    }

    .digest-btn {
        padding: 12px;
        font-size: 0.85rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .setting-item {
        padding: 0.5rem 0.625rem;
        border-radius: 8px;
    }

    .setting-info {
        gap: 0.5rem;
    }

    .setting-icon-box {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .setting-text h4 {
        font-size: 0.75rem;
    }

    .toggle-switch {
        width: 34px;
        height: 18px;
    }

    .toggle-knob {
        width: 14px;
        height: 14px;
    }

    .setting-item.active-amber .toggle-knob,
    .setting-item.active-red .toggle-knob,
    .setting-item.active-amber-light .toggle-knob {
        transform: translateX(16px);
    }

    @keyframes knobOn {

        0%,
        40% {
            transform: translateX(0);
        }

        50%,
        100% {
            transform: translateX(16px);
        }
    }
}

/* ========================================
   PREMIUM PRODUCT DROPDOWN - Split Panel
   ======================================== */

.nav-dropdown-menu.nav-dropdown-product {
    left: 50%;
    transform: translateX(-50%);
}

.nav-product-split {
    display: grid;
    grid-template-columns: 300px 380px;
    background: rgba(8, 10, 18, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 30px 80px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 100px -30px rgba(99, 102, 241, 0.2);
    animation: dropdownSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Product List - Left Panel */
.nav-product-list {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-product-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 0.75rem;
    margin-bottom: 0.25rem;
}

.nav-product-header i {
    width: 1rem;
    height: 1rem;
    color: #6366f1;
}

.nav-product-header span {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6366f1;
}

/* Product Item */
.nav-product-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
}

.nav-product-item:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

.nav-product-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 0 2px 2px 0;
}

.nav-product-item.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.nav-product-item.disabled:hover {
    transform: none;
    background: transparent;
    border-color: transparent;
}

/* Product Icon */
.nav-product-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-product-item-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.nav-product-item-icon.indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #818cf8;
}

.nav-product-item:hover .nav-product-item-icon.indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0.15) 100%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.nav-product-item-icon.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.nav-product-item:hover .nav-product-item-icon.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.nav-product-item-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

.nav-product-item:hover .nav-product-item-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.nav-product-item-icon.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0.08) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    color: #5eead4;
}

.nav-product-item:hover .nav-product-item-icon.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.25) 0%, rgba(20, 184, 166, 0.15) 100%);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.25);
}

.nav-product-item-icon.muted {
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.15);
    color: #64748b;
}

/* Product Content */
.nav-product-item-content {
    flex: 1;
    min-width: 0;
}

.nav-product-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.nav-product-item:hover .nav-product-item-title {
    color: #fff;
}

.nav-product-item-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.125rem;
    transition: color 0.2s ease;
}

.nav-product-item:hover .nav-product-item-subtitle {
    color: #94a3b8;
}

.nav-product-badge-live {
    font-size: 0.5625rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.nav-product-arrow {
    width: 1rem;
    height: 1rem;
    color: #475569;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
}

.nav-product-item:hover .nav-product-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #818cf8;
}

.nav-product-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 0.5rem 0;
}

/* Product Preview - Right Panel */
.nav-product-preview {
    padding: 1.75rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 27, 75, 0.4) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-product-preview-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-product-preview-glow.indigo {
    background: radial-gradient(circle, #6366f1 0%, transparent 60%);
}

.nav-product-preview-glow.amber {
    background: radial-gradient(circle, #f59e0b 0%, transparent 60%);
}

.nav-product-preview-glow.purple {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 60%);
}

.nav-product-preview-glow.teal {
    background: radial-gradient(circle, #14b8a6 0%, transparent 60%);
}

.nav-product-preview-content {
    display: none;
    flex-direction: column;
    animation: previewSlideIn 0.25s ease-out;
    position: relative;
    z-index: 1;
}

.nav-product-preview-content.active {
    display: flex;
}

@keyframes previewSlideIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-product-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    margin-bottom: 1rem;
    width: fit-content;
}

.nav-product-preview-badge.amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.2);
}

.nav-product-preview-badge.purple {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.2);
}

.nav-product-preview-badge.teal {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.2);
}

.nav-product-preview-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.nav-product-preview-icon svg {
    width: 1.625rem;
    height: 1.625rem;
}

.nav-product-preview-icon.indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.nav-product-preview-icon.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

.nav-product-preview-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.nav-product-preview-icon.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.15) 100%);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #5eead4;
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.2);
}

.nav-product-preview-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.625rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.nav-product-preview-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.nav-product-preview-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-product-preview-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #cbd5e1;
}

.nav-product-preview-features li i {
    width: 0.875rem;
    height: 0.875rem;
    color: #4ade80;
    flex-shrink: 0;
}

.nav-product-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #818cf8;
    text-decoration: none;
    padding: 0.625rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    width: fit-content;
    transition: all 0.2s ease;
}

.nav-product-preview-cta:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
    gap: 0.75rem;
}

.nav-product-preview-cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.nav-product-preview-cta:hover svg {
    transform: translateX(3px);
}

.nav-product-preview-cta.amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.nav-product-preview-cta.amber:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
}

.nav-product-preview-cta.purple {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.nav-product-preview-cta.purple:hover {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.35);
}

.nav-product-preview-cta.teal {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.2);
}

.nav-product-preview-cta.teal:hover {
    background: rgba(20, 184, 166, 0.18);
    border-color: rgba(20, 184, 166, 0.35);
}

/* ========================================
   PREMIUM SOLUTIONS MEGA MENU
   ======================================== */

.nav-solutions-split {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: rgba(8, 10, 18, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 30px 80px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 100px -30px rgba(99, 102, 241, 0.2);
    animation: dropdownSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 380px;
}

/* Solutions List - Left Panel */
.nav-solutions-list {
    padding: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
}

.nav-solutions-section {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.nav-solutions-section-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.5rem;
    margin-bottom: 0.25rem;
}

.nav-solutions-section-icon {
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-solutions-section-icon svg {
    width: 0.875rem;
    height: 0.875rem;
}

.nav-solutions-section-icon.indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
}

.nav-solutions-section-icon.amber {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

.nav-solutions-section-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
}

.nav-solutions-section-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.nav-solutions-section-items {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

/* Solutions Link */
.nav-solutions-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
    border: 1px solid transparent;
}

.nav-solutions-link:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.12);
}

.nav-solutions-link-icon {
    width: 1rem;
    height: 1rem;
    color: #64748b;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.nav-solutions-link:hover .nav-solutions-link-icon {
    color: #a5b4fc;
}

.nav-solutions-link-text {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e2e8f0;
    transition: color 0.15s ease;
}

.nav-solutions-link:hover .nav-solutions-link-text {
    color: #fff;
}

.nav-solutions-link-arrow {
    width: 0.875rem;
    height: 0.875rem;
    color: #475569;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.15s ease;
}

.nav-solutions-link:hover .nav-solutions-link-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #818cf8;
}

/* Solutions Preview - Right Panel */
.nav-solutions-preview {
    padding: 2rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 27, 75, 0.4) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 360px;
}

.nav-solutions-preview-glow {
    position: absolute;
    top: -40%;
    right: -25%;
    width: 180%;
    height: 180%;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    background: radial-gradient(circle, #6366f1 0%, transparent 55%);
}

.nav-solutions-preview-glow.indigo {
    background: radial-gradient(circle, #6366f1 0%, transparent 55%);
}

.nav-solutions-preview-glow.amber {
    background: radial-gradient(circle, #f59e0b 0%, transparent 55%);
}

.nav-solutions-preview-glow.purple {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 55%);
}

.nav-solutions-preview-glow.teal {
    background: radial-gradient(circle, #14b8a6 0%, transparent 55%);
}

.nav-solutions-preview-content {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    animation: previewSlideIn 0.2s ease-out;
    position: relative;
    z-index: 1;
    max-width: 340px;
}

.nav-solutions-preview-content.active {
    display: flex;
}

.nav-solutions-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.nav-solutions-preview-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    margin-bottom: 1rem;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.nav-solutions-preview-icon svg {
    width: 1.625rem;
    height: 1.625rem;
}

.nav-solutions-preview-icon.indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.nav-solutions-preview-icon.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fcd34d;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.nav-solutions-preview-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.nav-solutions-preview-icon.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.15) 100%);
    border-color: rgba(20, 184, 166, 0.3);
    color: #5eead4;
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.15);
}

.nav-solutions-preview-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.625rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.nav-solutions-preview-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Stats Row */
.nav-solutions-preview-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-solutions-stat {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.nav-solutions-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.nav-solutions-stat-label {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-solutions-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #818cf8;
    text-decoration: none;
    padding: 0.625rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-solutions-preview-cta:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
    gap: 0.75rem;
}

.nav-solutions-preview-cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.nav-solutions-preview-cta:hover svg {
    transform: translateX(3px);
}

.nav-solutions-preview-cta.indigo {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.nav-solutions-preview-cta.indigo:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}

.nav-solutions-preview-cta.amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.nav-solutions-preview-cta.amber:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
}

.nav-solutions-preview-cta.purple {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.nav-solutions-preview-cta.purple:hover {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.35);
}

.nav-solutions-preview-cta.teal {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.2);
}

.nav-solutions-preview-cta.teal:hover {
    background: rgba(20, 184, 166, 0.18);
    border-color: rgba(20, 184, 166, 0.35);
}

/* ========================================
   SOLUTIONS PREVIEW - PREMIUM CARD DESIGN
   ======================================== */

.nav-solutions-preview-header {
    margin-bottom: 1.25rem;
}

.nav-solutions-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 9999px;
}

.nav-solutions-preview-badge.indigo {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

.nav-solutions-preview-badge.amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.15);
}

.nav-solutions-preview-badge.purple {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.nav-solutions-preview-badge.teal {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.08);
    border-color: rgba(20, 184, 166, 0.15);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-dot.indigo {
    background: #818cf8;
}

.badge-dot.amber {
    background: #fbbf24;
}

.badge-dot.purple {
    background: #a78bfa;
}

.badge-dot.teal {
    background: #14b8a6;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* Preview Card Container */
.nav-solutions-preview-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-solutions-preview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Icon Wrap with Ring */
.nav-solutions-preview-icon-wrap {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
}

.nav-solutions-preview-icon-ring {
    position: absolute;
    inset: -4px;
    border-radius: 1rem;
    border: 2px dashed rgba(99, 102, 241, 0.2);
    animation: iconRingSpin 20s linear infinite;
}

.nav-solutions-preview-icon-ring.indigo {
    border-color: rgba(99, 102, 241, 0.2);
}

.nav-solutions-preview-icon-ring.amber {
    border-color: rgba(245, 158, 11, 0.2);
}

.nav-solutions-preview-icon-ring.purple {
    border-color: rgba(139, 92, 246, 0.2);
}

.nav-solutions-preview-icon-ring.teal {
    border-color: rgba(20, 184, 166, 0.2);
}

@keyframes iconRingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-solutions-preview-card .nav-solutions-preview-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.nav-solutions-preview-card .nav-solutions-preview-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* Title in Card */
.nav-solutions-preview-card .nav-solutions-preview-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Description in Card */
.nav-solutions-preview-card .nav-solutions-preview-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* Stats in Card */
.nav-solutions-preview-card .nav-solutions-preview-stats {
    display: flex;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 0;
}

.nav-solutions-preview-card .nav-solutions-stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-solutions-preview-card .nav-solutions-stat-label {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features List */
.nav-solutions-preview-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.preview-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #86efac;
}

.preview-feature i,
.preview-feature svg {
    width: 0.875rem;
    height: 0.875rem;
    color: #4ade80;
}

/* CTA Button Enhancement */
.nav-solutions-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.625rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-solutions-preview-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-solutions-preview-cta:hover::before {
    opacity: 1;
}

.nav-solutions-preview-cta span {
    position: relative;
    z-index: 1;
}

.nav-solutions-preview-cta i,
.nav-solutions-preview-cta svg {
    position: relative;
    z-index: 1;
}

/* ========================================
   MINIMALIST PREVIEW PANEL DESIGN
   ======================================== */

.nav-preview-minimal {
    padding: 1.5rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 20, 35, 0.98) 100%);
    min-width: 320px;
    max-width: 340px;
}

.nav-preview-minimal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: previewFadeIn 0.2s ease-out;
}

@keyframes previewFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Minimal Icon */
.nav-preview-minimal-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-preview-minimal-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.nav-preview-minimal-icon.indigo {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.nav-preview-minimal-icon.amber {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.nav-preview-minimal-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.nav-preview-minimal-icon.teal {
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: #5eead4;
}

.nav-preview-minimal-icon.red {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.nav-preview-minimal-icon.emerald {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Text Content */
.nav-preview-minimal-text {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.nav-preview-minimal-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.nav-preview-minimal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
}

.nav-preview-minimal-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* Stat Display */
.nav-preview-minimal-stat {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    margin-top: 0.375rem;
    width: fit-content;
}

.nav-preview-minimal-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
}

.nav-preview-minimal-stat-label {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Minimal CTA */
.nav-preview-minimal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
    margin-top: 0.25rem;
}

.nav-preview-minimal-cta svg {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.2s ease;
}

.nav-preview-minimal-cta:hover svg {
    transform: translateX(3px);
}

.nav-preview-minimal-cta.indigo {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.nav-preview-minimal-cta.indigo:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.3);
}

.nav-preview-minimal-cta.amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.nav-preview-minimal-cta.amber:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.3);
}

.nav-preview-minimal-cta.purple {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.nav-preview-minimal-cta.purple:hover {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.3);
}

.nav-preview-minimal-cta.teal {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.nav-preview-minimal-cta.teal:hover {
    background: rgba(20, 184, 166, 0.18);
    border-color: rgba(20, 184, 166, 0.3);
}

.nav-preview-minimal-cta.red {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.nav-preview-minimal-cta.red:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.3);
}

.nav-preview-minimal-cta.emerald {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.nav-preview-minimal-cta.emerald:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Feature Tags in Preview */
.nav-preview-minimal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.nav-preview-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nav-preview-tag.teal {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.nav-preview-tag.indigo {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-preview-tag.amber {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.nav-preview-tag.purple {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Check Icon List in Preview */
.nav-preview-minimal-list {
    list-style: none;
    padding: 0;
    margin: 0.625rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.nav-preview-minimal-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.nav-preview-minimal-list li i {
    width: 0.875rem;
    height: 0.875rem;
    color: #4ade80;
    flex-shrink: 0;
}

/* Platform Menu - Smaller Split (fewer items) */
.nav-platform-split {
    min-height: auto;
    grid-template-columns: 260px 1fr;
}

.nav-platform-split .nav-solutions-preview {
    min-width: 300px;
}

/* Platform Live Badge */
.nav-platform-badge-live {
    font-size: 0.5625rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    padding: 0.125rem 0.4rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: livePulse 2s ease-in-out infinite;
    margin-left: 0.5rem;
}

/* ========================================
   ROLES SECTION - Minimal Industries Grid
   ======================================== */

#roles-section a {
    text-decoration: none;
}