/* Bookmarks Page Styles */

/* Bookmarks Layout */
.bookmarks-main {
    min-height: calc(100vh - 200px);
    background: #ffffff;
}

.bookmarks-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100%;
}

/* Sidebar Navigation */
.bookmarks-sidebar {
    width: 280px;
    background: #f8f8f8;
    border-right: 1px solid #e0e0e0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    
    @media screen and (max-width: 768px) {
        position: fixed;
        top: 80px;
        left: 0;
        z-index: 1000;
        transform: translateX(-100%);
        width: 280px;
        height: calc(100vh - 80px);
        
        &.sidebar-open {
            transform: translateX(0);
        }
    }
    
    .sidebar-nav {
        padding: 2rem 0;
        
        .sidebar-section {
            margin-bottom: 2rem;
            
            &:last-child {
                margin-bottom: 0;
            }
            
            .sidebar-title {
                font-size: 0.875rem;
                font-weight: 600;
                color: #000000;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin: 0 0 1rem 0;
                padding: 0 1.5rem;
            }
            
            .sidebar-links {
                list-style: none;
                margin: 0;
                padding: 0;
                
                li {
                    margin-bottom: 0;
                }
                
                .sidebar-link {
                    display: block;
                    padding: 0.5rem 1.5rem;
                    color: #666666;
                    text-decoration: none;
                    font-size: 0.9rem;
                    font-weight: 500;
                    transition: all 0.3s ease;
                    border-left: 3px solid transparent;
                    
                    &:hover {
                        color: #000000;
                        background: rgba(0, 0, 0, 0.05);
                        border-left-color: #000000;
                    }
                    
                    &.active {
                        color: #000000;
                        background: rgba(0, 0, 0, 0.05);
                        border-left-color: #000000;
                        font-weight: 600;
                    }
                }
            }
        }
    }
}

/* Main Content Area */
.bookmarks-content {
    flex: 1;
    padding: 2rem;
    max-width: calc(100% - 280px);
    
    @media screen and (max-width: 1024px) {
        max-width: 100%;
        padding: 1rem;
    }
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: #000000;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background 0.3s ease;
    
    &:hover {
        background: #333333;
    }
    
    @media screen and (max-width: 768px) {
        display: flex;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 3px;
        
        .hamburger-line {
            width: 18px;
            height: 2px;
            background: white;
            border-radius: 1px;
            transition: all 0.3s ease;
        }
    }
}

/* Mobile Sidebar Overlay */
@media screen and (max-width: 768px) {
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        
        &.overlay-open {
            opacity: 1;
            visibility: visible;
        }
    }
}

/* Product Vision Note Styles */
.product-vision-note {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #000000;
    border-radius: 0;
    padding: 3rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #000000;
    }
    
    .vision-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        
        .vision-icon {
            font-size: 2.5rem;
        }
        
        .vision-title {
            font-size: 2.25rem;
            font-weight: 700;
            color: #000000;
            margin: 0;
            line-height: 1.2;
        }
    }
    
    .vision-content {
        .vision-description {
            font-size: 1.25rem;
            line-height: 1.7;
            color: #000000;
            margin-bottom: 2.5rem;
            font-weight: 500;
        }
        
        .vision-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2.5rem 0;
            
            @media screen and (max-width: 768px) {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .feature-item {
                display: flex;
                align-items: flex-start;
                gap: 1rem;
                padding: 1.5rem;
                background: white;
                border: 1px solid #e0e0e0;
                border-radius: 0;
                transition: all 0.3s ease;
                
                &:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                    border-color: #000000;
                }
                
                .feature-icon {
                    font-size: 1.5rem;
                    flex-shrink: 0;
                    margin-top: 0.25rem;
                }
                
                .feature-text {
                    flex: 1;
                    
                    h4 {
                        font-size: 1.125rem;
                        font-weight: 600;
                        color: #000000;
                        margin: 0 0 0.5rem 0;
                        line-height: 1.3;
                    }
                    
                    p {
                        font-size: 0.95rem;
                        line-height: 1.6;
                        color: #666666;
                        margin: 0;
                    }
                }
            }
        }
        
        .vision-cta {
            background: #000000;
            color: white;
            padding: 2rem;
            border-radius: 0;
            text-align: center;
            margin-top: 2.5rem;
            
            .cta-text {
                font-size: 1.125rem;
                line-height: 1.6;
                margin: 0 0 1.5rem 0;
                font-weight: 500;
            }
            
            .cta-link {
                display: inline-block;
                background: white;
                color: #000000;
                padding: 0.75rem 1.5rem;
                border-radius: 0;
                text-decoration: none;
                font-weight: 600;
                font-size: 1rem;
                transition: all 0.3s ease;
                border: 2px solid white;
                
                &:hover {
                    background: transparent;
                    color: white;
                    border-color: white;
                    transform: translateY(-2px);
                }
            }
        }
    }
}

.bookmarks-intro {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 3rem;
    border-left: 4px solid #000000;
    
    p {
        font-size: 1.1rem;
        line-height: 1.7;
        color: #000000;
        margin-bottom: 0;
    }
}

.bookmarks-section {
    margin: 3rem 0;
    
    .section-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        
        .section-icon {
            font-size: 2rem;
        }
        
        .section-title {
            font-size: 2rem;
            font-weight: 600;
            color: #000000;
            margin: 0;
            
            @media screen and (max-width: 768px) {
                font-size: 1.5rem;
            }
        }
        
        .section-description {
            color: #666666;
            font-size: 1rem;
            margin: 0;
        }
    }
}

.bookmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    
    @media screen and (max-width: 768px) {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.bookmark-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #000000;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }
    
    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-color: #000000;
        
        &::before {
            transform: scaleX(1);
        }
    }
    
    .bookmark-header {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
        
        .bookmark-category {
            background: #f8f8f8;
            color: #666666;
            padding: 0.25rem 0.5rem;
            border-radius: 3px;
            font-size: 0.7rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .bookmark-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #000000;
            margin: 0;
            line-height: 1.3;
            flex: 1;
        }
    }
    
    .bookmark-description {
        color: #666666;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    
    .bookmark-link {
        color: #000000;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        
        &:hover {
            color: #333333;
            text-decoration: underline;
        }
        
        &::after {
            content: '↗';
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }
        
        &:hover::after {
            transform: translate(2px, -2px);
        }
    }
}

