.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hero h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 400;
}

.hero p {
    font-size: 14px;
    margin-bottom: 0;
    color: #777;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 500;
}

.feature-card p {
    color: #777;
    line-height: 1.6;
    font-size: 14px;
}

/* 图纸展示区域 */
.blueprint-section {
    margin-bottom: 40px;
}

.blueprint-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ff6b8b;
    font-size: 22px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255,107,139,0.3);
}

.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.blueprint-card {
    padding: 15px;
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(255,107,139,0.15);
    transition: all 0.3s ease;
    border: 2px solid #ffe6ed;
    position: relative;
    overflow: hidden;
}

.blueprint-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b8b, #ff8fab);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.blueprint-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255,107,139,0.25);
    border-color: #ff6b8b;
}

.blueprint-image {
    height: 130px;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
    z-index: 1;
    border: 2px solid #f0f0f0;
}

.blueprint-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blueprint-card:hover .blueprint-image img {
    transform: scale(1.05);
}

.blueprint-title {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.blueprint-author {
    font-size: 12px;
    color: #999;
    position: relative;
    z-index: 1;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 16px;
}

.empty-state p {
    color: #777;
    font-size: 14px;
}

/* 图纸详情弹窗样式 */
.blueprint-modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    margin: auto;
}

.blueprint-modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.blueprint-modal-header h3 {
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
}

.blueprint-modal-body {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.blueprint-modal-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.blueprint-modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blueprint-modal-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blueprint-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    min-height: 100px;
}

.blueprint-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #fef7ff;
    color: #ff6b8b;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #ffc1cc;
}

.blueprint-actions {
    display: flex;
    gap: 16px;
    padding: 12px;
    justify-content: center;
    background: transparent;
    border-top: none;
}

.action-btn {
    flex: none;
    padding: 8px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    background: transparent;
}

.action-btn:hover {
    transform: scale(1.1);
}

.like-btn {
    background: transparent;
    color: #ff6b8b;
    border: none;
}

.like-btn:hover {
    background: transparent;
    color: #ff6b8b;
    transform: scale(1.1);
    box-shadow: none;
}

.download-btn {
    background: transparent;
    color: #3498db;
    border: none;
}

.download-btn:hover {
    background: transparent;
    color: #3498db;
    transform: scale(1.1);
    box-shadow: none;
}

.preview-btn {
    background: transparent;
    color: #27ae60;
    border: none;
}

.preview-btn:hover {
    background: transparent;
    color: #27ae60;
    transform: scale(1.1);
    box-shadow: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .blueprint-modal-body {
        flex-direction: column;
    }
    
    .blueprint-modal-image,
    .blueprint-modal-info {
        max-width: 100%;
    }
    
    .blueprint-actions {
        flex-direction: column;
    }
}
